Make prometheus integration optional
parent
d8aa2005b9
commit
c122cdcc54
|
@ -1,3 +1,5 @@
|
|||
inwx_user: ""
|
||||
inwx_pass: ""
|
||||
gandi_livedns_key: ""
|
||||
acmesh_prometheus_active: yes
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue