Add IPv6 support to firewall tasks / template

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
2015-05-25 18:16:58 +03:00
parent a17cb2a0a0
commit a8f4500567
3 changed files with 28 additions and 1 deletions

View File

@ -6,3 +6,8 @@
template: src=iptables.j2 dest=/etc/iptables/rules.v4 owner=root mode=0600
notify:
- restart iptables-persistent
- name: Copy /etc/iptables/rules.v6
template: src=ip6tables.j2 dest=/etc/iptables/rules.v6 owner=root group=root mode=0600
notify:
- restart iptables-persistent