From 54dfe73d2498a8230bf74122a7330dcc66f7f8bf Mon Sep 17 00:00:00 2001
From: Sander Klein <s.klein@picturae.com>
Date: Sat, 5 Feb 2022 08:50:50 +0100
Subject: [PATCH] Add bastion support to remove-node.yml (#8504)

Somehow bastion support for remove-node.yml was missing.

This commit adds it.
---
 remove-node.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/remove-node.yml b/remove-node.yml
index d99740c3f..4c2fe66d1 100644
--- a/remove-node.yml
+++ b/remove-node.yml
@@ -5,6 +5,13 @@
 - name: Ensure compatibility with old groups
   import_playbook: legacy_groups.yml
 
+- hosts: bastion[0]
+  gather_facts: False
+  environment: "{{ proxy_disable_env }}"
+  roles:
+    - { role: kubespray-defaults }
+    - { role: bastion-ssh-config, tags: ["localhost", "bastion"] }
+
 - hosts: "{{ node | default('etcd:k8s_cluster:calico_rr') }}"
   gather_facts: no
   tasks:
-- 
GitLab