Skip to content

Commit

Permalink
Add bastion support to remove-node.yml (kubernetes-sigs#8504)
Browse files Browse the repository at this point in the history
Somehow bastion support for remove-node.yml was missing.

This commit adds it.
  • Loading branch information
roedie authored Feb 5, 2022
1 parent 87928ba commit 54dfe73
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions remove-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 54dfe73

Please sign in to comment.