tenks/ansible/teardown.yml
Michal Nasiadka 6af32ae579 Fix ansible-lint errors
Add jinja[spacing] to warn list and fix name[play] issues.

Change-Id: Ie9d1d92e8c2fc2e69e0d1fd14ec859ebc67f6a38
2022-09-06 09:35:31 +02:00

36 lines
789 B
YAML

---
- name: Teardown Tenks resources
hosts: all
tags:
- always
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
tags: openstack
- name: Perform Ironic node deconfiguration
import_playbook: node_enrolment.yml
tags: openstack
- 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
- name: Clean up Tenks state
import_playbook: cleanup_state.yml