iptables/handlers/main.yml

7 lines
222 B
YAML
Raw Normal View History

2021-09-12 13:28:46 +00:00
---
2021-09-18 19:21:26 +00:00
- name: iptables | Load iptables rules for IPv4
2021-09-12 13:28:46 +00:00
shell: 'cat {{ iptables__conf_ipv4 }} | iptables-restore'
2021-09-18 19:21:26 +00:00
- name: iptables | Load iptables rules for IPv6
2021-09-12 13:28:46 +00:00
shell: 'cat {{ iptables__conf_ipv6 }} | ip6tables-restore'