Make prometheus integration optional
parent
d8aa2005b9
commit
c122cdcc54
|
@ -1,3 +1,5 @@
|
||||||
inwx_user: ""
|
inwx_user: ""
|
||||||
inwx_pass: ""
|
inwx_pass: ""
|
||||||
gandi_livedns_key: ""
|
gandi_livedns_key: ""
|
||||||
|
acmesh_prometheus_active: yes
|
||||||
|
|
||||||
|
|
|
@ -117,6 +117,7 @@
|
||||||
src: files/certificate-validity.sh
|
src: files/certificate-validity.sh
|
||||||
dest: /root/.acme.sh/certificate-validity.sh
|
dest: /root/.acme.sh/certificate-validity.sh
|
||||||
mode: 0700
|
mode: 0700
|
||||||
|
when: acmesh_prometheus_active
|
||||||
|
|
||||||
- name: Ensure monitoring data is updated
|
- name: Ensure monitoring data is updated
|
||||||
become: yes
|
become: yes
|
||||||
|
@ -125,3 +126,5 @@
|
||||||
minute: "*/10"
|
minute: "*/10"
|
||||||
hour: "*"
|
hour: "*"
|
||||||
job: "/root/.acme.sh/certificate-validity.sh"
|
job: "/root/.acme.sh/certificate-validity.sh"
|
||||||
|
when: acmesh_prometheus_active
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue