From cbb80c36d99cc55543f382a8b188d3cd1d68da31 Mon Sep 17 00:00:00 2001 From: vincent Date: Mon, 19 Aug 2019 10:04:04 +0200 Subject: [PATCH] correct redirect isssue in gandi dns auto --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 2b6780b..fff6113 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -8,7 +8,7 @@ - name: create cron for dyndns cron: - job: "gad -5 -a {{Gandi_API_KEYS}} -d {{ Gandi_Domain }} -r {{Gandi_Record}} 2> /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. 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.