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
0aaba5ea
Unverified
Commit
0aaba5ea
authored
3 years ago
by
Vadim
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
added destination filename to cp command (#7764)
parent
bd6d810d
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/etcdctl/tasks/main.yml
+2
-2
2 additions, 2 deletions
roles/etcdctl/tasks/main.yml
with
2 additions
and
2 deletions
roles/etcdctl/tasks/main.yml
+
2
−
2
View file @
0aaba5ea
...
@@ -38,11 +38,11 @@
...
@@ -38,11 +38,11 @@
-
block
:
-
block
:
-
name
:
Copy etcdctl script to host
-
name
:
Copy etcdctl script to host
shell
:
"
{{
docker_bin_dir
}}/docker
exec
\"
$({{
docker_bin_dir
}}/docker
ps
-qf
ancestor={{
etcd_image_repo
}}:{{
etcd_image_tag
}})
\"
cp
/usr/local/bin/etcdctl
{{
etcd_data_dir
}}"
shell
:
"
{{
docker_bin_dir
}}/docker
exec
\"
$({{
docker_bin_dir
}}/docker
ps
-qf
ancestor={{
etcd_image_repo
}}:{{
etcd_image_tag
}})
\"
cp
/usr/local/bin/etcdctl
{{
etcd_data_dir
}}
/etcdctl
"
when
:
container_manager == "docker"
when
:
container_manager == "docker"
-
name
:
Copy etcdctl script to host
-
name
:
Copy etcdctl script to host
shell
:
"
{{
bin_dir
}}/crictl
exec
\"
$({{
bin_dir
}}/crictl
ps
-q
--image
{{
etcd_image_repo
}}:{{
etcd_image_tag
}})
\"
cp
/usr/local/bin/etcdctl
{{
etcd_data_dir
}}"
shell
:
"
{{
bin_dir
}}/crictl
exec
\"
$({{
bin_dir
}}/crictl
ps
-q
--image
{{
etcd_image_repo
}}:{{
etcd_image_tag
}})
\"
cp
/usr/local/bin/etcdctl
{{
etcd_data_dir
}}
/etcdctl
"
when
:
container_manager in ['crio', 'containerd']
when
:
container_manager in ['crio', 'containerd']
-
name
:
Copy etcdctl to {{ bin_dir }}
-
name
:
Copy etcdctl to {{ bin_dir }}
...
...
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