aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/network/handlers/main.yml
blob: 85873ee00c2456310f952566b272519604716d77 (plain) (blame)
1
2
3
4
5
6
---
- 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