diff --git a/smartgears/fhn_manager/defaults/main.yml b/smartgears/fhn_manager/defaults/main.yml index 8d9a3309..74a68289 100644 --- a/smartgears/fhn_manager/defaults/main.yml +++ b/smartgears/fhn_manager/defaults/main.yml @@ -1,7 +1,7 @@ --- fhn_manager_install: False smart_executor_install: False -fhn_manager_version: 1.2.3-4.7.0-153229 +fhn_manager_version: 1.2.4-4.7.0-154701 fhn_manager_name: fhn-manager-service fhn_group_id: org.gcube.resources.federation fhn_extension: war diff --git a/smartgears/fhn_manager/tasks/main.yml b/smartgears/fhn_manager/tasks/main.yml index 35e1aeac..8df2d62d 100644 --- a/smartgears/fhn_manager/tasks/main.yml +++ b/smartgears/fhn_manager/tasks/main.yml @@ -28,6 +28,10 @@ - name: Install the cron job that delete the /tmp directory every day cron: name="Delete tmp folder" special_time=daily job="find /tmp ! -name 'x509up_u1000' -type f -exec rm -f {} \; >/dev/null 2>&1" + - 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" + become: True become_user: '{{ d4science_user }}' when: fhn_manager_install