From 46f6c09d218b8395faeb3fc3e1b621622cb1b8a9 Mon Sep 17 00:00:00 2001 From: holmesb <5072156+holmesb@users.noreply.github.com> Date: Tue, 17 Sep 2019 07:42:22 +0100 Subject: [PATCH] Fixes issue #5160 (#5171) --- remove-node.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }