This is /sbin on rhel6 hosts and should work on rhel7 too

This commit is contained in:
Kevin Fenzi 2015-12-09 18:33:04 +00:00
parent 82902fd1c0
commit 0bd796a739

View file

@ -137,7 +137,7 @@
- base
- name: iptables
template: src={{ item }} dest=/etc/sysconfig/iptables mode=600 backup=yes validate="/usr/sbin/iptables-restore --text %s"
template: src={{ item }} dest=/etc/sysconfig/iptables mode=600 backup=yes validate="/sbin/iptables-restore --text %s"
with_first_found:
- iptables/iptables.{{ datacenter }}
- iptables/iptables.{{ ansible_fqdn }}