ansible-personal/roles/common/tasks/iptables_Debian.yml
Alan Orth 891bd35171 roles/common: Move tags from subtask to main one
Child tasks inherit the tag of the parent.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-03-15 17:34:13 +03:00

9 lines
246 B
YAML

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