Automated changes from linter ;P
This commit is contained in:
parent
44b73a216f
commit
f7f04e7a41
65 changed files with 392 additions and 324 deletions
|
@ -1,24 +1,24 @@
|
|||
---
|
||||
- name: Add key
|
||||
get_url:
|
||||
ansible.builtin.get_url:
|
||||
url: https://apt.grafana.com/gpg.key
|
||||
dest: /etc/apt/keyrings/grafana.asc
|
||||
notify: apt update
|
||||
|
||||
- name: Grafana source
|
||||
copy:
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/apt/sources.list.d/grafana.list
|
||||
content: "deb [signed-by=/etc/apt/keyrings/grafana.asc] https://apt.grafana.com stable main"
|
||||
notify: apt update
|
||||
|
||||
- meta: flush_handlers
|
||||
- ansible.builtin.meta: flush_handlers
|
||||
|
||||
- name: Install Grafana
|
||||
apt:
|
||||
ansible.builtin.apt:
|
||||
name: grafana
|
||||
|
||||
- name: Configure grafana
|
||||
template:
|
||||
ansible.builtin.template:
|
||||
src: "{{ item.src }}"
|
||||
dest: "{{ item.dest }}"
|
||||
owner: root
|
||||
|
@ -30,7 +30,7 @@
|
|||
- { src: grafana-ldap.toml, dest: /etc/grafana/ldap.toml }
|
||||
|
||||
- name: Configure grafana data source
|
||||
template:
|
||||
ansible.builtin.template:
|
||||
src: grafana-data-source.yml
|
||||
dest: "/etc/grafana/provisioning/datasources/{{ item.name | lower }}.yaml"
|
||||
owner: root
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue