We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59e6f61 commit fa3a07aCopy full SHA for fa3a07a
2 files changed
roles/haproxy/defaults/main.yml
@@ -48,3 +48,6 @@ haproxy_acmedns:
48
49
# on which weekday (cron, 0==sunday) to run the renewal script
50
haproxy_acme_cronjob_dow: 1
51
+
52
+# optional monitoring url for acme cron
53
+haproxy_acme_cronjob_monitor_url:
roles/haproxy/tasks/acme.yml
@@ -69,3 +69,6 @@
69
content: |
70
MAILTO=surfconext-beheer@surf.nl
71
30 07 * * {{ haproxy_acme_cronjob_dow }} acme /home/acme/.acme.sh/acme.sh --cron --home /home/acme/.acme.sh > /dev/null
72
+ {%- if haproxy_acme_cronjob_monitor_url|bool and haproxy_acme_cronjob_monitor_url|length > 0 -%}
73
+ {# #} && curl -fsS --retry 3 -o /dev/null {{ haproxy_acme_cronjob_monitor_url }}
74
+ {%- endif %}
0 commit comments