diff --git a/playbooks/remove_node.yml b/playbooks/remove_node.yml index f994dae43..ae5aba6be 100644 --- a/playbooks/remove_node.yml +++ b/playbooks/remove_node.yml @@ -27,6 +27,10 @@ hosts: "{{ node | default('kube_node') }}" gather_facts: false environment: "{{ proxy_disable_env }}" + pre_tasks: + - name: Gather information about installed services + service_facts: + when: reset_nodes | default(True) | bool roles: - { role: kubespray-defaults, when: reset_nodes | default(True) | bool } - { role: remove-node/pre-remove, tags: pre-remove }