parent
dea9304968
commit
e01118d36d
|
@ -14,6 +14,8 @@
|
|||
- name: Set node IP
|
||||
set_fact:
|
||||
node_ip: "{{ ip | default(access_ip | default(remove_node_ip.stdout)) | trim }}"
|
||||
when:
|
||||
- inventory_hostname in groups['etcd']
|
||||
|
||||
- name: Delete node
|
||||
command: "{{ bin_dir }}/kubectl delete node {{ inventory_hostname }}"
|
||||
|
|
Loading…
Reference in New Issue