Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
d8e77600
Unverified
Commit
d8e77600
authored
6 years ago
by
Andreas Krüger
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #3066 from luisyonaldo/fix-conditional
fix bad conditional
parents
e3dcd963
fd380615
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/kubernetes/kubeadm/tasks/main.yml
+1
-1
1 addition, 1 deletion
roles/kubernetes/kubeadm/tasks/main.yml
with
1 addition
and
1 deletion
roles/kubernetes/kubeadm/tasks/main.yml
+
1
−
1
View file @
d8e77600
...
...
@@ -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 }}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment