Browse Source

Fix issue in remove-node/post-remove task (#5185) (#5186)

pull/5251/head
BenoitBOULANGER 5 years ago
committed by Kubernetes Prow Robot
parent
commit
e01118d36d
1 changed files with 2 additions and 0 deletions
  1. 2
      roles/remove-node/post-remove/tasks/main.yml

2
roles/remove-node/post-remove/tasks/main.yml

@ -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…
Cancel
Save