forked from Deuxfleurs/infrastructure
7 lines
233 B
YAML
7 lines
233 B
YAML
|
---
|
||
|
- name: reload iptables
|
||
|
shell: iptables-restore < /etc/iptables/rules.v4 && systemctl restart docker && ifdown nomad1 || true && ifup nomad1 || true
|
||
|
|
||
|
- name: reload ip6tables
|
||
|
shell: ip6tables-restore < /etc/iptables/rules.v6
|