Allow tripleo_firewall to work in check mode
Currently, there is a task that fails in check mode because it tries to loop over stdout_lines which don't exist when running in check (the command taks didn't actually run in check, so there is no stdout). Change-Id: Ic569b15e0b866167c2a7e57dc26591fa8a2f6caa
This commit is contained in:
parent
6b6f4b5fb3
commit
2e6b7c4974
@ -109,5 +109,6 @@
|
||||
state: absent
|
||||
regexp: '^((?!.*comment)(?=.*(ironic-inspector|neutron-)))'
|
||||
when:
|
||||
- not ansible_check_mode|bool
|
||||
- item.find('v=' ~ '^/') == -1
|
||||
loop: "{{ neutron_rules.stdout_lines }}"
|
||||
|
Loading…
Reference in New Issue
Block a user