Skip to content
Snippets Groups Projects
Unverified Commit 8b9cd395 authored by Eugene Artemenko's avatar Eugene Artemenko Committed by GitHub
Browse files

Add possibility to skip adding load balancer name in the hosts file (#9331)

parent dffeab32
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,8 @@ resolveconf_cloud_init_conf: /etc/resolveconf_cloud_init.conf
# All inventory hostnames will be written into each /etc/hosts file.
populate_inventory_to_hosts_file: true
# K8S Api FQDN will be written into /etc/hosts file.
populate_loadbalancer_apiserver_to_hosts_file: true
sysctl_file_path: "/etc/sysctl.d/99-sysctl.conf"
......
......@@ -35,6 +35,7 @@
backup: yes
unsafe_writes: yes
when:
- populate_loadbalancer_apiserver_to_hosts_file
- loadbalancer_apiserver is defined
- loadbalancer_apiserver.address is defined
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment