Simplify this conditional for iptables.

This commit is contained in:
Kevin Fenzi 2016-12-05 17:31:45 +00:00
parent 77ff2a473b
commit 0ee9865961

View file

@ -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