diff --git a/remove-node.yml b/remove-node.yml index 1f4a66169..c2f33b3b1 100644 --- a/remove-node.yml +++ b/remove-node.yml @@ -34,14 +34,14 @@ - { role: remove-node/pre-remove, tags: pre-remove } - hosts: "{{ node | default('kube-node') }}" - gather_facts: no + gather_facts: yes roles: - { role: kubespray-defaults } - { role: reset, tags: reset, when: reset_nodes|default(True) } # Currently cannot remove first master or etcd - hosts: "{{ node | default('kube-master[1:]:etcd[:1]') }}" - gather_facts: no + gather_facts: yes roles: - { role: kubespray-defaults } - { role: remove-node/post-remove, tags: post-remove }