forked from ISTI-ansible-roles/ansible-roles
../library/roles/smartgears/fhn_manager/tasks/main.yml add cronjob task
This commit is contained in:
parent
08fe2fd5db
commit
678f74dafa
|
@ -25,6 +25,9 @@
|
|||
copy: src={{ smartgears_downloads_dir }}/{{ fhn_manager_file }} dest={{ smartgears_instance_path }}/webapps/{{ fhn_manager_name }}.{{ fhn_extension }} force=yes remote_src=yes
|
||||
notify: Restart smartgears
|
||||
|
||||
- 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"
|
||||
|
||||
become: True
|
||||
become_user: '{{ d4science_user }}'
|
||||
when: fhn_manager_install
|
||||
|
|
Loading…
Reference in New Issue