infrastructure/ansible/roles/network/handlers/main.yml

6 lines
185 B
YAML

---
- name: reload iptables
shell: iptables-restore < /etc/iptables/rules.v4 && systemctl restart docker
- name: reload ip6tables
shell: ip6tables-restore < /etc/iptables/rules.v6