fix bad conditional
This commit is contained in:
parent
280d6cac1a
commit
fd380615a0
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
- name: Set kubeadm_discovery_address
|
||||
set_fact:
|
||||
kubeadm_discovery_address: >-
|
||||
{%- if "127.0.0.1" or "localhost" in kube_apiserver_endpoint -%}
|
||||
{%- if "127.0.0.1" in kube_apiserver_endpoint or "localhost" in kube_apiserver_endpoint -%}
|
||||
{{ first_kube_master }}:{{ kube_apiserver_port }}
|
||||
{%- else -%}
|
||||
{{ kube_apiserver_endpoint }}
|
||||
|
|
Loading…
Reference in a new issue