From 3e8b0f8b26e4a4c59c76af441a297408ae30c003 Mon Sep 17 00:00:00 2001 From: Kevin Klopfenstein Date: Fri, 12 Jun 2020 00:00:02 +0200 Subject: [PATCH] bootstrap-os for remove-node --- remove-node.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/remove-node.yml b/remove-node.yml index c1c2cddce04..86a2218d66b 100644 --- a/remove-node.yml +++ b/remove-node.yml @@ -20,15 +20,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) } @@ -37,4 +36,5 @@ gather_facts: no roles: - { role: kubespray-defaults } + - { role: bootstrap-os, tags: bootstrap-os} - { role: remove-node/post-remove, tags: post-remove }