ansible-personal/roles/common/tasks/iptables_Debian.yml
Alan Orth 60b8ecdd4c
Initial commit
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-08-17 00:35:57 +03:00

11 lines
280 B
YAML

---
- name: Install iptables-persistent
apt: pkg=iptables-persistent update_cache=yes
tags: firewall
- name: Copy /etc/iptables/rules.v4
template: src=iptables.j2 dest=/etc/iptables/rules.v4 owner=root mode=0600
notify:
- restart iptables-persistent
tags: firewall