prometheus/server/tasks/main.yaml
changeset 223 de03976c2df1
parent 197 1cc658995a70
--- a/prometheus/server/tasks/main.yaml	Fri Sep 15 22:46:46 2023 -0500
+++ b/prometheus/server/tasks/main.yaml	Sat Sep 16 01:39:37 2023 -0500
@@ -3,13 +3,13 @@
 - name: add grafana apt key
   become: yes
   get_url:
-    url: "https://packages.grafana.com/gpg.key"
+    url: "https://apt.grafana.com/gpg.key"
     dest: "/etc/apt/trusted.gpg.d/grafana.asc"
     mode: "0644"
 
 - name: add grafana apt repo
   become: yes
-  apt_repository: repo="deb [signed-by=/etc/apt/trusted.gpg.d/grafana.asc] https://packages.grafana.com/oss/deb stable main"
+  apt_repository: repo="deb [signed-by=/etc/apt/trusted.gpg.d/grafana.asc] https://apt.grafana.com stable main"
 
 - name: install prometheus and grafana
   become: yes