Make prometheus integration optional

main
Georg Krause 2022-03-26 20:11:49 +01:00
parent d8aa2005b9
commit c122cdcc54
Signed by: gcrkrause
GPG Key ID: 2970D504B2183D22
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,5 @@
inwx_user: ""
inwx_pass: ""
gandi_livedns_key: ""
acmesh_prometheus_active: yes

View File

@ -117,6 +117,7 @@
src: files/certificate-validity.sh
dest: /root/.acme.sh/certificate-validity.sh
mode: 0700
when: acmesh_prometheus_active
- name: Ensure monitoring data is updated
become: yes
@ -125,3 +126,5 @@
minute: "*/10"
hour: "*"
job: "/root/.acme.sh/certificate-validity.sh"
when: acmesh_prometheus_active