File tree Expand file tree Collapse file tree 2 files changed +15
-7
lines changed
Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,20 @@ firewall_htcondor_shared_port_service: >
5757 <port protocol="tcp" port="9628"/>
5858 </service>
5959
60+ # fs-maintenance
61+ fsm_maintenance_dir : ' /data/dnb01/maintenance'
62+ fsm_cron_tasks :
63+ docker :
64+ enable : true
65+ name : ' Docker clean up'
66+ minute : 30
67+ hour : 2
68+ dom : ' *'
69+ month : ' *'
70+ dow : ' *'
71+ job : ' . {{ galaxy_root }}/.bashrc && docker system prune -f > /dev/null'
72+ user : ' {{ fsm_galaxy_user.username }}'
73+
6074# Telegraf
6175telegraf_agent_hostname : ' {{ hostname }}'
6276telegraf_agent_version : 1.17.2
Original file line number Diff line number Diff line change 154154 - ' telegraf'
155155 - ' stats' # special account to retrieve statistics from the server in read-only mode
156156
157- - name : Set temporary cron for cleaning docker images
158- ansible.builtin.cron :
159- name : ' Temporary docker cleanup – needs upstream fix see issue #584'
160- minute : ' 0'
161- hour : ' */3'
162- job : ' /bin/docker system prune --all -f > /dev/null'
163-
164157 # Note (ToDo): We should ensure that the Gunicorn sockets are created with the correct SELinux
165158 # context to avoid adding or allowing unconfined contexts. This will further tighten
166159 # the security of the Galaxy instance. (Check the systemd role that is creating the sockets and
353346 - usegalaxy_eu.galaxy_systemd # Manage the Galaxy processes with SystemD
354347 - usegalaxy-eu.update-hosts # Update hosts list
355348 - usegalaxy_eu.gie_proxy # Setup the NodeJS proxy for GxIT
349+ - usegalaxy_eu.fs_maintenance
356350 - usegalaxy-eu.logrotate # Rotate logs
357351 - usegalaxy-eu.error-pages # Copy the NGINX error pages
358352 - usegalaxy-eu.fix-stuck-handlers # Restart handlers to prevent several classes of issues
You can’t perform that action at this time.
0 commit comments