Browse Source
Add bastion support to remove-node.yml (#8504)
Somehow bastion support for remove-node.yml was missing.
This commit adds it.
pull/8508/head
Sander Klein
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
7 additions and
0 deletions
-
remove-node.yml
|
@ -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: |
|
|