aboutsummaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2023-11-02 16:42:16 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2023-11-02 16:42:16 +0100
commit2f6b7e2e8df149568fbeb11cd63407f204e0a53f (patch)
tree71e7c7de207dbcbac68782b6197ed98e5aff427a /roles
parentd300ba861c892aaa55d685f99e42384f176a9be9 (diff)
downloadansible_collection-2f6b7e2e8df149568fbeb11cd63407f204e0a53f.tar.gz
grafana apt key once again
Diffstat (limited to 'roles')
-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