From 4ea6ff79f537dffba065af70babcd862f8398642 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Thu, 2 Nov 2023 16:25:28 +0100 Subject: grafana fix apt key --- galaxy.yml | 2 +- roles/grafana/tasks/main.yml | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/galaxy.yml b/galaxy.yml index 88411c0..61f3101 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,6 +1,6 @@ namespace: kompetenzbolzen name: stuff -version: 0.21.7 +version: 0.21.8 readme: README.md authors: - Jonas Gunz diff --git a/roles/grafana/tasks/main.yml b/roles/grafana/tasks/main.yml index 42376d1..01aa5a4 100644 --- a/roles/grafana/tasks/main.yml +++ b/roles/grafana/tasks/main.yml @@ -14,8 +14,13 @@ - name: Install Grafana Repo Key get_url: url: https://packages.grafana.com/gpg.key - dest: /usr/share/keyrings/grafana-keyring.asc + dest: /usr/share/keyrings/grafana-keyring.key become: yes + register: key_download + +- name: dearmor key + shell: gpg --dearmor /usr/share/keyrings/grafana-keyring.key > /usr/share/keyrings/grafana-keyring.asc + when: key_download.changed - name: Update APT cache apt: -- cgit v1.2.3