Skip to content
Snippets Groups Projects
Commit 3aa3e6cb authored by jurgenhaas's avatar jurgenhaas
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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment