This commit is contained in:
parent
917b2279a9
commit
e77eceaa2c
@ -1,15 +1,17 @@
|
|||||||
---
|
---
|
||||||
# tasks file for gandi-dyn-dns
|
# tasks file for gandi-dyn-dns
|
||||||
|
|
||||||
|
|
||||||
- name: Install gandi-automatic-dns
|
- name: Install gandi-automatic-dns
|
||||||
aur: name=gandi-automatic-dns state=present
|
aur:
|
||||||
|
name: gandi-automatic-dns
|
||||||
|
state: present
|
||||||
become_user: aur_builder
|
become_user: aur_builder
|
||||||
|
become: true
|
||||||
|
|
||||||
- name: create cron for dyndns
|
- name: create cron for dyndns
|
||||||
cron:
|
cron:
|
||||||
job: "gad -5 -a {{Gandi_API_KEYS}} -d {{ Gandi_Domain }} -r {{Gandi_Record}} &> /dev/null"
|
job: "gad -5 -a {{Gandi_API_KEYS}} -d {{ Gandi_Domain }} -r {{Gandi_Record}} &> /dev/null"
|
||||||
user: root # not required. The specific user whose crontab should be modified.
|
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 )
|
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.
|
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.
|
||||||
become: yes
|
become: yes
|
||||||
|
Loading…
Reference in New Issue
Block a user