Skip to content
Snippets Groups Projects
Commit 68e8d745 authored by Vincent Schwarzer's avatar Vincent Schwarzer
Browse files

Changes based on feedback (additional ansible checks)

parent fc054e21
Branches
Tags
No related merge requests found
......@@ -17,7 +17,7 @@
line: "{{ loadbalancer_apiserver.address }} {{ apiserver_loadbalancer_domain_name| default('lb-apiserver.kubernetes.local') }}"
state: present
backup: yes
when: loadbalancer_apiserver.address is defined and apiserver_loadbalancer_domain_name is defined
when: loadbalancer_apiserver is defined and loadbalancer_apiserver.address is defined and apiserver_loadbalancer_domain_name is defined
- name: Hosts | localhost ipv4 in hosts file
lineinfile:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment