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
90c643f3
Unverified
Commit
90c643f3
authored
4 years ago
by
Samuel Liu
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
format ansible output (#7482)
parent
1d4e3802
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/kubernetes-apps/helm/tasks/main.yml
+4
-4
4 additions, 4 deletions
roles/kubernetes-apps/helm/tasks/main.yml
roles/kubernetes-apps/metallb/tasks/main.yml
+3
-3
3 additions, 3 deletions
roles/kubernetes-apps/metallb/tasks/main.yml
with
7 additions
and
7 deletions
roles/kubernetes-apps/helm/tasks/main.yml
+
4
−
4
View file @
90c643f3
...
...
@@ -4,7 +4,7 @@
vars
:
download
:
"
{{
download_defaults
|
combine(downloads.helm)
}}"
-
name
:
Copy helm binary from download dir
-
name
:
Helm |
Copy helm binary from download dir
synchronize
:
src
:
"
{{
local_release_dir
}}/helm-{{
helm_version
}}/linux-{{
image_arch
}}/helm"
dest
:
"
{{
bin_dir
}}/helm"
...
...
@@ -14,7 +14,7 @@
group
:
no
delegate_to
:
"
{{
inventory_hostname
}}"
-
name
:
Check if bash_completion.d folder exists
# noqa 503
-
name
:
Helm |
Check if bash_completion.d folder exists
# noqa 503
stat
:
path
:
"
/etc/bash_completion.d/"
get_attributes
:
no
...
...
@@ -22,14 +22,14 @@
get_mime
:
no
register
:
stat_result
-
name
:
Get helm completion
-
name
:
Helm |
Get helm completion
command
:
"
{{
bin_dir
}}/helm
completion
bash"
changed_when
:
False
register
:
helm_completion
check_mode
:
False
when
:
stat_result.stat.exists
-
name
:
Install helm completion
-
name
:
Helm |
Install helm completion
copy
:
dest
:
/etc/bash_completion.d/helm.sh
content
:
"
{{
helm_completion.stdout
}}"
...
...
This diff is collapsed.
Click to expand it.
roles/kubernetes-apps/metallb/tasks/main.yml
+
3
−
3
View file @
90c643f3
---
-
name
:
"
Kubernetes
Apps
|
Check
cluster
settings
for
MetalLB
"
-
name
:
Kubernetes Apps | Check cluster settings for MetalLB
fail
:
msg
:
"
MetalLB
require
kube_proxy_strict_arp
=
true,
see
https://github.com/danderson/metallb/issues/153#issuecomment-518651132"
when
:
...
...
@@ -32,7 +32,7 @@
-
podsecuritypolicy_enabled
-
inventory_hostname == groups['kube_control_plane'][0]
-
name
:
"
Kubernetes
Apps
|
Lay
Down
MetalLB
"
-
name
:
Kubernetes Apps | Lay Down MetalLB
become
:
true
template
:
{
src
:
"
{{
item
}}.j2"
,
dest
:
"
{{
kube_config_dir
}}/{{
item
}}"
}
with_items
:
[
"
metallb.yml"
,
"
metallb-config.yml"
]
...
...
@@ -40,7 +40,7 @@
when
:
-
"
inventory_hostname
==
groups['kube_control_plane'][0]"
-
name
:
"
Kubernetes
Apps
|
Install
and
configure
MetalLB
"
-
name
:
Kubernetes Apps | Install and configure MetalLB
kube
:
name
:
"
MetalLB"
kubectl
:
"
{{
bin_dir
}}/kubectl"
...
...
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