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
f9b5e448
Unverified
Commit
f9b5e448
authored
3 years ago
by
Ilya Margolin
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Prevent removing etcd member when running in check mode (#8570)
parent
3effb008
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/remove-node/remove-etcd-node/tasks/main.yml
+0
-5
0 additions, 5 deletions
roles/remove-node/remove-etcd-node/tasks/main.yml
with
0 additions
and
5 deletions
roles/remove-node/remove-etcd-node/tasks/main.yml
+
0
−
5
View file @
f9b5e448
...
...
@@ -43,11 +43,6 @@
-
name
:
Remove etcd member from cluster
command
:
"
{{
bin_dir
}}/etcdctl
member
remove
{{
etcd_member_id.stdout
}}"
register
:
etcd_member_in_cluster
changed_when
:
false
check_mode
:
no
tags
:
-
facts
environment
:
ETCDCTL_API
:
3
ETCDCTL_CERT
:
"
{{
kube_cert_dir
+
'/etcd/server.crt'
if
etcd_kubeadm_enabled
else
etcd_cert_dir
+
'/admin-'
+
groups['etcd']|first
+
'.pem'
}}"
...
...
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