netz39-infra-ansible/roles/dd24-dyndns-cron/handlers/main.yml
Stefan Haun 20942f8f4b Add role dd24-dyndns-cron
Setup cron job to call curl for DynDNS update
2022-08-04 17:03:09 +02:00

10 lines
265 B
YAML

# handlers file for cron-dd24-dyndns
---
- name: reload cron
ansible.builtin.shell:
cmd: service cron reload
warn: no
# Use the shell call because the task sometimes has problems finding the service state
# service:
# name: cron
# state: restarted