aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2023-11-02 16:16:08 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2023-11-02 16:16:08 +0100
commitb7129bd09320c46d9497cf257b846665f56ba966 (patch)
tree292410c1025ff5b9820bcbe65c0c279440ae7faa
parent07303d2cad3df95748de32aa7fc48ce9d3217b57 (diff)
downloadansible_collection-b7129bd09320c46d9497cf257b846665f56ba966.tar.gz
grafana fix apt signing key
-rw-r--r--galaxy.yml2
-rw-r--r--roles/grafana/tasks/main.yml6
2 files changed, 4 insertions, 4 deletions
diff --git a/galaxy.yml b/galaxy.yml
index 23dc653..88411c0 100644
--- a/galaxy.yml
+++ b/galaxy.yml
@@ -1,6 +1,6 @@
namespace: kompetenzbolzen
name: stuff
-version: 0.21.6
+version: 0.21.7
readme: README.md
authors:
- Jonas Gunz <himself@jonasgunz.de>
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