-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathg4t_extras.yml
36 lines (32 loc) · 1.22 KB
/
g4t_extras.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
- hosts: galaxy_hosts
become: true
handlers:
- name: restart galaxy
supervisorctl:
name: galaxy
state: restarted
tasks:
- name: copy frontpage files
copy:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
mode: 0644
with_items:
- { src: "{{ frontpage_welcome }}", dest: "{{ galaxy_root }}/server/static" }
- { src: "{{ frontpage_footer }}", dest: "{{ galaxy_root }}/server/static/images" }
- { src: "{{ frontpage_logo }}", dest: "{{ galaxy_root }}/server/static/images" }
roles:
- role: common
- role: geerlingguy.pip
- role: usegalaxy-eu.supervisor
- role: geerlingguy.nginx
- role: galaxyproject.cvmfs
when: g4t_use_cvmfs_role | bool
post_tasks:
- name: Set tool_data_table_config_path to CVMFS one
replace:
path: "{{ galaxy_config_dir }}/galaxy.yml"
regexp: '^ tool_data_table_config_path.*'
replace: ' tool_data_table_config_path: {{ galaxy_root }}/var/config/tool_data_table_conf.xml,/cvmfs/data.galaxyproject.org/byhand/location/tool_data_table_conf.xml,/cvmfs/data.galaxyproject.org/managed/location/tool_data_table_conf.xml'
when: g4t_use_cvmfs_role | bool
notify: restart galaxy