Skip to content

Commit b6079a1

Browse files
committed
Fix condition
1 parent d5d6412 commit b6079a1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
- name: Include docker tasks when running docker
22
import_tasks: docker.yml
33
when: "'docker' in group_names
4-
or 'push_mw_config' in ansible_run_tags
4+
and ('push_mw_config' in ansible_run_tags
55
or 'push_mw_institution' in ansible_run_tags
6-
or 'push_mw_whitelist' in ansible_run_tags"
6+
or 'push_mw_whitelist' in ansible_run_tags)"
77

88
- name: Include vm tasks when running on a vm
99
import_tasks: vm.yml
1010
when: "'docker' not in group_names
11-
or 'push_mw_config' in ansible_run_tags
11+
and ('push_mw_config' in ansible_run_tags
1212
or 'push_mw_institution' in ansible_run_tags
13-
or 'push_mw_whitelist' in ansible_run_tags"
13+
or 'push_mw_whitelist' in ansible_run_tags)"

0 commit comments

Comments
 (0)