Browse Source

Fixes issue #5160 (#5171)

pull/5178/head
holmesb 5 years ago
committed by Kubernetes Prow Robot
parent
commit
46f6c09d21
1 changed files with 2 additions and 2 deletions
  1. 4
      remove-node.yml

4
remove-node.yml

@ -34,14 +34,14 @@
- { role: remove-node/pre-remove, tags: pre-remove } - { role: remove-node/pre-remove, tags: pre-remove }
- hosts: "{{ node | default('kube-node') }}" - hosts: "{{ node | default('kube-node') }}"
gather_facts: no
gather_facts: yes
roles: roles:
- { role: kubespray-defaults } - { role: kubespray-defaults }
- { role: reset, tags: reset, when: reset_nodes|default(True) } - { role: reset, tags: reset, when: reset_nodes|default(True) }
# Currently cannot remove first master or etcd # Currently cannot remove first master or etcd
- hosts: "{{ node | default('kube-master[1:]:etcd[:1]') }}" - hosts: "{{ node | default('kube-master[1:]:etcd[:1]') }}"
gather_facts: no
gather_facts: yes
roles: roles:
- { role: kubespray-defaults } - { role: kubespray-defaults }
- { role: remove-node/post-remove, tags: post-remove } - { role: remove-node/post-remove, tags: post-remove }
Loading…
Cancel
Save