Add bastion support to remove-node.yml (#8504)

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

This commit adds it.
This commit is contained in:
Sander Klein 2022-02-05 08:50:50 +01:00 committed by GitHub
parent 87928baa31
commit 54dfe73d24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: