aboutsummaryrefslogtreecommitdiff
path: root/roles/grafana/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/grafana/tasks')
-rw-r--r--roles/grafana/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/grafana/tasks/main.yml b/roles/grafana/tasks/main.yml
index 89384cc..ce1db35 100644
--- a/roles/grafana/tasks/main.yml
+++ b/roles/grafana/tasks/main.yml
@@ -7,7 +7,7 @@
- name: Install Grafana STABLE Repository
copy:
dest: /etc/apt/sources.list.d/grafana.list
- content: 'deb [signed-by=/usr/share/keyrings/grafana-keyring.asc] https://apt.grafana.com stable main'
+ content: 'deb [signed-by=/usr/share/keyrings/grafana-keyring.gpg] https://apt.grafana.com stable main'
become: yes
register: install_repo
@@ -19,7 +19,7 @@
register: key_download
- name: dearmor key
- shell: gpg --dearmor /usr/share/keyrings/grafana-keyring.key > /usr/share/keyrings/grafana-keyring.asc
+ shell: gpg --dearmor < /usr/share/keyrings/grafana-keyring.key > /usr/share/keyrings/grafana-keyring.gpg
when: key_download.changed
become: yes