Simplify this conditional for iptables.
This commit is contained in:
parent
77ff2a473b
commit
0ee9865961
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@
|
|||
- iptables/iptables.{{ host_group }}
|
||||
- iptables/iptables.{{ env }}
|
||||
- iptables/iptables
|
||||
when: not inventory_hostname.startswith('fed-cloud09') or not inventory_hostname.startswith('osbs')
|
||||
when: not inventory_hostname.startswith(('fed-cloud09','osbs')
|
||||
notify:
|
||||
- restart iptables
|
||||
- reload libvirtd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue