From c3b78c32556cdc9e63c443d67e1cf9e32222321f Mon Sep 17 00:00:00 2001 From: Kevin Klopfenstein Date: Wed, 5 Aug 2020 10:52:28 +0200 Subject: [PATCH] bootstrap-os for remove-node (#6154) --- remove-node.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/remove-node.yml b/remove-node.yml index 7cb25ca51..341c92615 100644 --- a/remove-node.yml +++ b/remove-node.yml @@ -35,15 +35,14 @@ gather_facts: no roles: - { role: kubespray-defaults } + - { role: bootstrap-os, tags: bootstrap-os } - { role: remove-node/pre-remove, tags: pre-remove } -- name: Gather facts - import_playbook: facts.yml - - hosts: "{{ node | default('kube-node') }}" gather_facts: no roles: - { role: kubespray-defaults } + - { role: bootstrap-os, tags: bootstrap-os } - { role: remove-node/remove-etcd-node} - { role: reset, tags: reset, when: reset_nodes|default(True) } @@ -52,4 +51,5 @@ gather_facts: no roles: - { role: kubespray-defaults } + - { role: bootstrap-os, tags: bootstrap-os} - { role: remove-node/post-remove, tags: post-remove }