From 2c5ed33e0bc7ed4823be2c4ffc957c751f970f24 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Thu, 6 May 2021 17:54:07 +0200 Subject: [PATCH] ansible/playbooks/general#106 Configure cronjobs healthcheck --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 6fdd825..a445ce2 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -49,7 +49,7 @@ name: Cleanup Docker hour: 23 minute: 55 - job: /usr/bin/docker system prune -f > /dev/null 2>&1 + 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(',')) }} disabled: '{{ crons_disabled|default(false) }}' tags: - cron -- GitLab