roles/common: Add firewalld support

Needed in Ubuntu 15.04 where iptables-persistent is going away. I
have added translations of the current IPv4 and IPv6 iptables rules.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
2015-06-07 12:42:03 +03:00
parent cc3b6d5026
commit 1fc2453703
3 changed files with 86 additions and 0 deletions

View File

@ -12,3 +12,6 @@
- name: reload sysctl
command: sysctl -p /etc/sysctl.conf
- name: restart firewalld
service: name=firewalld state=restarted