delete mail to gandy auto DNS cron

This commit is contained in:
vincent 2019-08-18 17:35:19 +02:00
parent 4d908a721c
commit a25c6a73a3

View File

@ -8,7 +8,7 @@
- name: create cron for dyndns
cron:
job: "gad -5 -a {{Gandi_API_KEYS}} -d {{ Gandi_Domain }} -r {{Gandi_Record}}"
job: "gad -5 -a {{Gandi_API_KEYS}} -d {{ Gandi_Domain }} -r {{Gandi_Record}} 2> /dev/null"
user: root # not required. The specific user whose crontab should be modified.
minute: 0,15,30,45 # not required. Minute when the job should run ( 0-59, *, */2, etc )
name: "live DNS record gandi" # not required. Description of a crontab entry or, if env is set, the name of environment variable. Required if state=absent. Note that if name is not set and state=present, then a new crontab entry will always be created, regardless of existing ones.