summaryrefslogtreecommitdiffstats
path: root/ansible/infrastructure.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/infrastructure.yml')
-rw-r--r--ansible/infrastructure.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/infrastructure.yml b/ansible/infrastructure.yml
index 789f8716..709a351e 100644
--- a/ansible/infrastructure.yml
+++ b/ansible/infrastructure.yml
@@ -4,7 +4,7 @@
tasks:
- name: Setup resolv.conf
lineinfile:
- line: "nameserver {{ hostvars[groups.infrastructure[0]].ansible_host }}"
+ line: "nameserver {{ hostvars[groups.infrastructure[0]].cluster_ip }}"
path: /etc/resolv.conf
state: present
insertbefore: BOF