Changes based on feedback (additional ansible checks)
parent
fc054e21f6
commit
68e8d74545
|
@ -17,7 +17,7 @@
|
||||||
line: "{{ loadbalancer_apiserver.address }} {{ apiserver_loadbalancer_domain_name| default('lb-apiserver.kubernetes.local') }}"
|
line: "{{ loadbalancer_apiserver.address }} {{ apiserver_loadbalancer_domain_name| default('lb-apiserver.kubernetes.local') }}"
|
||||||
state: present
|
state: present
|
||||||
backup: yes
|
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
|
- name: Hosts | localhost ipv4 in hosts file
|
||||||
lineinfile:
|
lineinfile:
|
||||||
|
|
Loading…
Reference in New Issue