Skip to content
Snippets Groups Projects
Commit 6922d286 authored by Dmitriy Safronov's avatar Dmitriy Safronov
Browse files

--tls-san {{ apiserver_endpoint }}

parent 4ed55994
Branches
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ ansible_user: root
server_init_args: >-
{% if groups['master'] | length > 1 %}
{% if ansible_host == hostvars[groups['master'][0]]['ansible_host'] | default(groups['master'][0]) %}
--cluster-init
--cluster-init --tls-san {{ apiserver_endpoint }}
{% else %}
--server https://{{ hostvars[groups['master'][0]]['ansible_host'] | default(groups['master'][0]) }}:6443
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment