prometheus/server/tasks/main.yaml
changeset 189 3bd85e235e76
parent 187 0f3a64c60ec5
child 197 1cc658995a70
--- a/prometheus/server/tasks/main.yaml	Mon Sep 05 17:58:32 2022 -0500
+++ b/prometheus/server/tasks/main.yaml	Fri Sep 09 11:54:48 2022 -0500
@@ -2,7 +2,10 @@
 
 - name: add grafana apt key
   become: yes
-  apt_key: url="https://packages.grafana.com/gpg.key"
+  get_url:
+    url: "https://packages.grafana.com/gpg.key"
+    dest: /etc/apt/trusted.gpg.d/grafana.asc
+    mode: "0644"
 
 - name: add grafana apt repo
   become: yes