forked from ISTI-ansible-roles/ansible-roles
10 lines
662 B
YAML
10 lines
662 B
YAML
---
|
|
gcore_maintenance_restart_cron: False
|
|
gcore_maintenance_log_files_cleanup: True
|
|
gcore_maintenance_log_files_cleanup_script: '/usr/local/bin/clean_access_log'
|
|
|
|
gcore_weekday_cron_run: '*'
|
|
gcore_maintenance_cron_users:
|
|
- { user: '{{ d4science_user }}', weekday: "{{ gcore_weekday_cron_run }}", job: "echo '`date`' >{{ d4science_user_home }}/gcore_service_restart.log ; {{ d4science_user_home }}/stopContainer.sh >>{{ d4science_user_home }}/gcore_service_restart.log 2>&1 ; sleep 30 ; {{ d4science_user_home }}/startContainer.sh >>{{ d4science_user_home }}/gcore_service_restart.log 2>&1", logrotate_job: '{{ gcore_maintenance_log_files_cleanup_script }}' }
|
|
|