ansible-base/roles/client_iptables/handlers/main.yml

9 lines
218 B
YAML
Raw Normal View History

---
- name: save iptables v4 rules
shell: iptables-save > /etc/iptables/rules.v4
listen: persist iptables
- name: save iptables v6 rules
shell: ip6tables-save > /etc/iptables/rules.v6
listen: persist iptables