ctucx.git: ansible-configs

My personal ansible roles and playbooks [deprecated in favor of nixos]

commit c7f0d1af48aa150ae1ca4e997497d18f7b6d6dd5
parent 13e988812b37d7778087016eb8086bc998b08006
Author: Leah (ctucx) <leah@ctu.cx>
Date: Tue, 2 Feb 2021 12:19:06 +0100

prometheus: add reminder to config
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/roles/prometheus/tasks/configure.yml b/roles/prometheus/tasks/configure.yml
@@ -2,5 +2,5 @@
 
 - name: "Generate config: /etc/prometheus/prometheus.yml" 
   copy:
-    content: "{{ services.prometheus.config | to_nice_yaml }}"
+    content: "#\n# !!! This file is managed by Ansible !!!\n#\n\n{{ services.prometheus.config | to_nice_yaml }}"
     dest: /etc/prometheus/prometheus.yml