bootstrap-os for remove-node (#6154)

This commit is contained in:
Kevin Klopfenstein 2020-08-05 10:52:28 +02:00 committed by GitHub
parent fb666c44b3
commit c3b78c3255
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }