aboutsummaryrefslogtreecommitdiff
path: root/os/config/roles/consul
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-10-22 20:22:57 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-10-22 20:22:57 +0200
commit5902805ac944ef6fe83508947de197678b8a86bd (patch)
treec8776d55ad6151861615331e54b0aa34c9b9f4c2 /os/config/roles/consul
parente465d65a27f31c1e00b1cf8ebd2d3972d192d99a (diff)
downloadinfrastructure-5902805ac944ef6fe83508947de197678b8a86bd.tar.gz
infrastructure-5902805ac944ef6fe83508947de197678b8a86bd.zip
Reintroduce resolv.conf, it is needed + change DNS from FDN (broken) to Free
Diffstat (limited to 'os/config/roles/consul')
-rw-r--r--os/config/roles/consul/templates/consul.json.j23
1 files changed, 2 insertions, 1 deletions
diff --git a/os/config/roles/consul/templates/consul.json.j2 b/os/config/roles/consul/templates/consul.json.j2
index 76632a6..beea1fa 100644
--- a/os/config/roles/consul/templates/consul.json.j2
+++ b/os/config/roles/consul/templates/consul.json.j2
@@ -18,7 +18,8 @@
"dns": 53
},
"recursors": [
- "{{ dns_server }}"
+ "{{ dns_1 }}",
+ "{{ dns_2 }}"
],
"encrypt": "{{ consul_gossip_encrypt }}",
"domain": "2.cluster.deuxfleurs.fr",