library/roles/smartgears/fhn_manager/defaults/main.yml update service version

library/roles/smartgears/fhn_manager/tasks/main.yml add cronjob task for resfreshing the certificates periodically
This commit is contained in:
Roberto Cirillo 2017-10-06 10:14:58 +02:00
parent bb158fce51
commit d52a919c72
2 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
--- ---
fhn_manager_install: False fhn_manager_install: False
smart_executor_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_manager_name: fhn-manager-service
fhn_group_id: org.gcube.resources.federation fhn_group_id: org.gcube.resources.federation
fhn_extension: war fhn_extension: war

View File

@ -28,6 +28,10 @@
- name: Install the cron job that delete the /tmp directory every day - 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" 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: True
become_user: '{{ d4science_user }}' become_user: '{{ d4science_user }}'
when: fhn_manager_install when: fhn_manager_install