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
9a91ef86
Commit
9a91ef86
authored
6 years ago
by
hikoz
Committed by
Kubernetes Prow Robot
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
change permission after unarchive (#4191)
parent
fbce6349
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/network_plugin/calico/tasks/install.yml
+7
-7
7 additions, 7 deletions
roles/network_plugin/calico/tasks/install.yml
with
7 additions
and
7 deletions
roles/network_plugin/calico/tasks/install.yml
+
7
−
7
View file @
9a91ef86
...
...
@@ -33,6 +33,13 @@
group
:
root
changed_when
:
false
-
name
:
Calico | Copy cni plugins
unarchive
:
src
:
"
{{
local_release_dir
}}/cni-plugins-{{
image_arch
}}-{{
cni_version
}}.tgz"
dest
:
"
/opt/cni/bin"
mode
:
0755
remote_src
:
yes
-
name
:
Calico | Set cni directory permissions
file
:
path
:
/opt/cni/bin
...
...
@@ -41,13 +48,6 @@
recurse
:
true
mode
:
0755
-
name
:
Calico | Copy cni plugins
unarchive
:
src
:
"
{{
local_release_dir
}}/cni-plugins-{{
image_arch
}}-{{
cni_version
}}.tgz"
dest
:
"
/opt/cni/bin"
mode
:
0755
remote_src
:
yes
-
name
:
Calico | Copy cni plugins from calico/cni container
command
:
"
{{
docker_bin_dir
}}/docker
run
--rm
-v
/opt/cni/bin:/cnibindir
{{
calico_cni_image_repo
}}:{{
calico_cni_image_tag
}}
sh
-c
'cp
/opt/cni/bin/*
/cnibindir/'"
register
:
cni_task_result
...
...
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