diff options
Diffstat (limited to 'ansible/infrastructure.yml')
-rw-r--r-- | ansible/infrastructure.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ansible/infrastructure.yml b/ansible/infrastructure.yml index 789f8716..08667330 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 @@ -61,7 +61,7 @@ - role: nexus vars: phase: runtime-populate - when: runtime_images is defined + when: runtime_images is defined and runtime_images is not none - name: Setup base for Kubernetes nodes hosts: kubernetes |