Skip to content

Commit 1306b51

Browse files
authored
Merge pull request #237 from mvdbeek/boolean_when
Rebuild galaxy_config_merged with updated tool_config_files
2 parents 2e012bd + f4b881d commit 1306b51

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tasks/static_setup.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,18 @@
6767
galaxy_tool_config_files: "{{ galaxy_tool_config_files + [galaxy_shed_tool_config_file] }}"
6868
when: __galaxy_major_version is version('19.09', '<') and galaxy_shed_tool_config_file not in galaxy_tool_config_files
6969

70+
- name: Rebuild galaxy_app_config_default with updated tool_config_files
71+
set_fact:
72+
galaxy_app_config_default: "{{ galaxy_app_config_default | combine({'tool_config_file': galaxy_tool_config_files | join(',')}) }}"
73+
74+
- name: Rebuild galaxy_config_default with updated galaxy_app_config_default
75+
set_fact:
76+
galaxy_config_default: "{{ {} | combine({galaxy_app_config_section: galaxy_app_config_default}) }}"
77+
78+
- name: Rebuild galaxy_config_merged with updated galaxy_config_default
79+
set_fact:
80+
galaxy_config_merged: "{{ galaxy_config_default | combine(galaxy_config | default({}), recursive=True) }}"
81+
7082
- name: Ensure dynamic job rules paths exists
7183
file:
7284
path: "{{ galaxy_dynamic_job_rules_dir }}/{{ item | dirname }}"

0 commit comments

Comments
 (0)