bootstrap-os for remove-node (#6154)
This commit is contained in:
parent
fb666c44b3
commit
c3b78c3255
1 changed files with 3 additions and 3 deletions
|
@ -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 }
|
||||||
|
|
Loading…
Reference in a new issue