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:
parent
87928baa31
commit
54dfe73d24
1 changed files with 7 additions and 0 deletions
|
@ -5,6 +5,13 @@
|
||||||
- name: Ensure compatibility with old groups
|
- name: Ensure compatibility with old groups
|
||||||
import_playbook: legacy_groups.yml
|
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') }}"
|
- hosts: "{{ node | default('etcd:k8s_cluster:calico_rr') }}"
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
tasks:
|
tasks:
|
||||||
|
|
Loading…
Reference in a new issue