ansible-nas/roles/healthchecks.io/tasks/main.yml

9 lines
220 B
YAML
Raw Normal View History

---
- 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 }}"