iptables/handlers/main.yml
2021-09-19 00:21:26 +05:00

6 lines
222 B
YAML

---
- name: iptables | Load iptables rules for IPv4
shell: 'cat {{ iptables__conf_ipv4 }} | iptables-restore'
- name: iptables | Load iptables rules for IPv6
shell: 'cat {{ iptables__conf_ipv6 }} | ip6tables-restore'