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
f3df0d5f
Commit
f3df0d5f
authored
5 years ago
by
Mark Janssen
Committed by
Kubernetes Prow Robot
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Always create bash_completion.d folder (#5039)
parent
1d285e65
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/bootstrap-os/tasks/main.yml
+8
-0
8 additions, 0 deletions
roles/bootstrap-os/tasks/main.yml
roles/kubernetes/master/tasks/main.yml
+3
-9
3 additions, 9 deletions
roles/kubernetes/master/tasks/main.yml
with
11 additions
and
9 deletions
roles/bootstrap-os/tasks/main.yml
+
8
−
0
View file @
f3df0d5f
...
...
@@ -72,3 +72,11 @@
-
ceph-common
state
:
present
when
:
rbd_provisioner_enabled|default(false)
-
name
:
Ensure bash_completion.d folder exists
file
:
name
:
/etc/bash_completion.d/
state
:
directory
owner
:
root
group
:
root
mode
:
0755
This diff is collapsed.
Click to expand it.
roles/kubernetes/master/tasks/main.yml
+
3
−
9
View file @
f3df0d5f
...
...
@@ -42,21 +42,14 @@
-
kubectl
-
upgrade
-
name
:
Make sure bash_completion.d folder exists
file
:
name
:
"
/etc/bash_completion.d/"
state
:
directory
when
:
ansible_os_family in ["ClearLinux"]
tags
:
-
kubectl
-
name
:
Install kubectl bash completion
shell
:
"
{{
bin_dir
}}/kubectl
completion
bash
>/etc/bash_completion.d/kubectl.sh"
when
:
ansible_os_family in ["Debian","RedHat"]
tags
:
-
kubectl
ignore_errors
:
True
-
name
:
Set kubectl bash completion file
-
name
:
Set kubectl bash completion file
permissions
file
:
path
:
/etc/bash_completion.d/kubectl.sh
owner
:
root
...
...
@@ -66,6 +59,7 @@
tags
:
-
kubectl
-
upgrade
ignore_errors
:
True
-
name
:
Disable SecurityContextDeny admission-controller and enable PodSecurityPolicy
set_fact
:
...
...
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