summaryrefslogtreecommitdiffstats
path: root/ansible/roles/docker/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/docker/tasks')
-rw-r--r--ansible/roles/docker/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/docker/tasks/main.yml b/ansible/roles/docker/tasks/main.yml
index 9851d4dc..09e790a4 100644
--- a/ansible/roles/docker/tasks/main.yml
+++ b/ansible/roles/docker/tasks/main.yml
@@ -20,7 +20,7 @@
json_add:
path: /etc/docker/daemon.json
key: dns
- value: "{{ hostvars[groups.infrastructure[0]].ansible_default_ipv4.address }}"
+ value: "{{ hostvars[groups.infrastructure[0]].cluster_ip }}"
notify:
- Restart Docker