forked from ISTI-ansible-roles/ansible-roles
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:
parent
bb158fce51
commit
d52a919c72
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue