9 lines
197 B
YAML
9 lines
197 B
YAML
|
---
|
||
|
|
||
|
- name: Install iptables-persistent
|
||
|
apt: name=iptables-persistent state=present
|
||
|
|
||
|
- name: Configure iptables
|
||
|
template: src=rules.v4.j2 dest=/etc/iptables/rules.v4
|
||
|
notify: Reload iptables
|