Commit 3aa3e6cb authored by Jürgen Haas's avatar Jürgen Haas
Browse files

ansible-inventories/arocom#2989 Enhance Cronjob Healthcheck lookup to support...

ansible-inventories/arocom#2989 Enhance Cronjob Healthcheck lookup to support grace period and to remove checks for inactive cronjobs
parent 2c5ed33e
......@@ -49,7 +49,7 @@
name: Cleanup Docker
hour: 23
minute: 55
job: /usr/bin/docker system prune -f > /dev/null 2>&1 && {{ lookup('healthchecks', '', base_url='https://healthchecks.lakedrops.com', api_key=healthchecks.api, host=inventory_hostname, user='root', jobname='Cleanup Docker', schedule='55 23 * * *', channels=healthchecks.channels|join(',')) }}
job: /usr/bin/docker system prune -f > /dev/null 2>&1 && {{ lookup('healthchecks', '', user='root', jobname='Cleanup Docker', schedule='55 23 * * *', disabled=crons_disabled|default(false)) }}
disabled: '{{ crons_disabled|default(false) }}'
tags:
- cron
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment