forked from Deuxfleurs/infrastructure
Alex Auvolat
351e6f13d5
- Remove nomad interface (unused) - Deactivate systemd-resolved - Add dns_server to production nodes variables - Add recursors option to Consul so that it can resolve outside DNS queries - Use consul as a global DNS server for machines and containers, with the outside DNS as a fallback (see roles/consul/templates/resolv.conf.j2)
6 lines
233 B
YAML
6 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
|