ansible-nas/roles/healthchecks.io/tasks/main.yml
2022-07-11 18:46:37 +02:00

8 lines
220 B
YAML

---
- name: Add healthchecks.io cronjob
cron:
name: healthchecks.io
minute: "*/{{ healthchecks_ping_minutes }}"
user: root
cron_file: /etc/crontab
job: "curl -m 10 --retry 5 {{ healthchecks_url }}"