tenks/ansible/teardown.yml
2018-09-12 14:28:53 +00:00

28 lines
632 B
YAML

---
- hosts: all
tasks:
- name: Set command for teardown
set_fact:
cmd: teardown
- name: Schedule removal of nodes
import_playbook: schedule.yml
- name: Deregister flavors in Nova
import_playbook: flavor_registration.yml
- name: Perform Ironic node deconfiguration
import_playbook: node_enrolment.yml
- name: Deconfigure virtual node BMCs
import_playbook: node_bmc.yml
- name: De-instantiate nodes
import_playbook: node_instantiation.yml
- name: Deconfigure node networking
import_playbook: node_networking.yml
- name: Perform deployment host deconfiguration
import_playbook: host_setup.yml