Prevent removing etcd member when running in check mode (#8570)
This commit is contained in:
parent
3effb008c9
commit
f9b5e448c1
1 changed files with 0 additions and 5 deletions
|
@ -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' }}"
|
||||
|
|
Loading…
Reference in a new issue