aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/consul/templates/consul.json.j2
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/consul/templates/consul.json.j2')
-rw-r--r--ansible/roles/consul/templates/consul.json.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/ansible/roles/consul/templates/consul.json.j2 b/ansible/roles/consul/templates/consul.json.j2
index d1bd2d8..b6c86aa 100644
--- a/ansible/roles/consul/templates/consul.json.j2
+++ b/ansible/roles/consul/templates/consul.json.j2
@@ -17,6 +17,9 @@
"ports": {
"dns": 53
},
+ "recursors": [
+ "{{ dns_server }}"
+ ],
"encrypt": "{{ consul_gossip_encrypt }}",
"domain": "2.cluster.deuxfleurs.fr",
"performance": {