iptables/handlers/main.yml

7 lines
222 B
YAML
Raw Normal View History

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