Skip to content
Snippets Groups Projects
Commit 3ecedfb2 authored by Chris Croome's avatar Chris Croome
Browse files

loops fixed?

parent 41eb6b50
No related branches found
No related tags found
No related merge requests found
Pipeline #9804 failed
......@@ -48,15 +48,15 @@
debug:
var: mod
verbosity: 2
loop: apache_mods_enabled
loop: "{{ apache_mods_enabled }}"
loop_control:
loop_var: mod
label: "{{ mod }}"
- name: Check that no mods are enabled and disabled
assert:
that: "{{ mod }} not in apache_mods_disabled"
loop: apache_mods_enabled
that: mod not in apache_mods_disabled"
loop: "{{ apache_mods_enabled }}"
loop_control:
loop_var: mod
label: "{{ mod }}"
......@@ -70,7 +70,7 @@
debug:
var: mod
verbosity: 2
loop: apache_mods_disabled
loop: "{{ apache_mods_disabled }}"
loop_control:
loop_var: mod
label: "{{ mod }}"
......@@ -78,7 +78,7 @@
- name: Check that no mods are disabled and enabled
assert:
that: mod not in apache_mods_enabled
loop: apache_mods_disabled
loop: "{{ apache_mods_disabled }}"
loop_control:
loop_var: mod
label: "{{ mod }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment