Kevin Klopfenstein
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
remove-node.yml
|
@ -35,15 +35,14 @@ |
|
|
gather_facts: no |
|
|
gather_facts: no |
|
|
roles: |
|
|
roles: |
|
|
- { role: kubespray-defaults } |
|
|
- { role: kubespray-defaults } |
|
|
|
|
|
- { role: bootstrap-os, tags: bootstrap-os } |
|
|
- { role: remove-node/pre-remove, tags: pre-remove } |
|
|
- { role: remove-node/pre-remove, tags: pre-remove } |
|
|
|
|
|
|
|
|
- name: Gather facts |
|
|
|
|
|
import_playbook: facts.yml |
|
|
|
|
|
|
|
|
|
|
|
- hosts: "{{ node | default('kube-node') }}" |
|
|
- hosts: "{{ node | default('kube-node') }}" |
|
|
gather_facts: no |
|
|
gather_facts: no |
|
|
roles: |
|
|
roles: |
|
|
- { role: kubespray-defaults } |
|
|
- { role: kubespray-defaults } |
|
|
|
|
|
- { role: bootstrap-os, tags: bootstrap-os } |
|
|
- { role: remove-node/remove-etcd-node} |
|
|
- { role: remove-node/remove-etcd-node} |
|
|
- { role: reset, tags: reset, when: reset_nodes|default(True) } |
|
|
- { role: reset, tags: reset, when: reset_nodes|default(True) } |
|
|
|
|
|
|
|
@ -52,4 +51,5 @@ |
|
|
gather_facts: no |
|
|
gather_facts: no |
|
|
roles: |
|
|
roles: |
|
|
- { role: kubespray-defaults } |
|
|
- { role: kubespray-defaults } |
|
|
|
|
|
- { role: bootstrap-os, tags: bootstrap-os} |
|
|
- { role: remove-node/post-remove, tags: post-remove } |
|
|
- { role: remove-node/post-remove, tags: post-remove } |