aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/network/handlers/main.yml
blob: 3454894db26890883ec2323ed55ccaf6f5c4a31e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
---
- 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

- name: reload nomad interface
  shell: ifdown nomad1 || true ; ifup nomad1

- name: reload systemd-resolved
  service: name=systemd-resolved state=restarted