aboutsummaryrefslogtreecommitdiff
path: root/roles/grafana/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/grafana/tasks/main.yml')
-rw-r--r--roles/grafana/tasks/main.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/grafana/tasks/main.yml b/roles/grafana/tasks/main.yml
index 745f0af..42376d1 100644
--- a/roles/grafana/tasks/main.yml
+++ b/roles/grafana/tasks/main.yml
@@ -7,14 +7,14 @@
- name: Install Grafana STABLE Repository
copy:
dest: /etc/apt/sources.list.d/grafana.list
- content: deb https://packages.grafana.com/oss/deb stable main
+ content: 'deb [signed-by=/usr/share/keyrings/grafana-keyring.asc] https://packages.grafana.com/oss/deb stable main'
become: yes
register: install_repo
- name: Install Grafana Repo Key
- apt_key:
+ get_url:
url: https://packages.grafana.com/gpg.key
- state: present
+ dest: /usr/share/keyrings/grafana-keyring.asc
become: yes
- name: Update APT cache