From d8ffa8198b773bd6eb1cd29df8e1d87b50c1678c Mon Sep 17 00:00:00 2001 From: Roberto Date: Fri, 6 Oct 2017 11:27:28 +0200 Subject: [PATCH] ./library/roles/smartgears/fhn_manager/tasks/main.yml fix cronjob task for refreshing certificates --- smartgears/fhn_manager/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smartgears/fhn_manager/tasks/main.yml b/smartgears/fhn_manager/tasks/main.yml index 8df2d62d..4da3fca4 100644 --- a/smartgears/fhn_manager/tasks/main.yml +++ b/smartgears/fhn_manager/tasks/main.yml @@ -30,7 +30,7 @@ - name: Install the cron job that refresh certificates every week become_user: root - cron: name="refresh certificates" special_time=weekly job="usr/sbin/fetch-crl >/dev/null 2>&1" + cron: name="refresh certificates" special_time=weekly job="/usr/sbin/fetch-crl >/dev/null 2>&1" become: True become_user: '{{ d4science_user }}'