Validate iptables files before restoring
This commit is contained in:
parent
fd9c8ac5a3
commit
1b28aecdcf
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@
|
|||
- ../templates/iptables/iptables.{{ env }}
|
||||
- ../templates/iptables/iptables
|
||||
when: not inventory_hostname.startswith('fed-cloud09')
|
||||
validate: "/etc/sysconfig/iptables --text %s"
|
||||
notify:
|
||||
- restart iptables
|
||||
- reload libvirtd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue