6af32ae579
Add jinja[spacing] to warn list and fix name[play] issues. Change-Id: Ie9d1d92e8c2fc2e69e0d1fd14ec859ebc67f6a38
41 lines
908 B
YAML
41 lines
908 B
YAML
---
|
|
- name: Deploy Tenks
|
|
hosts: all
|
|
tags:
|
|
- always
|
|
tasks:
|
|
- name: Set command for deployment
|
|
set_fact:
|
|
cmd: deploy
|
|
|
|
- name: Schedule nodes
|
|
import_playbook: schedule.yml
|
|
|
|
- name: Perform deployment host configuration
|
|
import_playbook: host_setup.yml
|
|
|
|
- name: Configure node networking
|
|
import_playbook: node_networking.yml
|
|
|
|
- name: Configure node instantiation
|
|
import_playbook: node_instantiation.yml
|
|
|
|
- name: Set up virtual node BMCs
|
|
import_playbook: node_bmc.yml
|
|
|
|
- name: Perform Ironic node configuration
|
|
import_playbook: node_enrolment.yml
|
|
tags: openstack
|
|
|
|
- name: Register flavors in Nova
|
|
import_playbook: flavor_registration.yml
|
|
tags: openstack
|
|
|
|
- name: Wait for resources to become available
|
|
import_playbook: resource_wait.yml
|
|
when: wait_for_placement | bool
|
|
tags: openstack, resource
|
|
|
|
- name: Clean up Tenks state
|
|
import_playbook: cleanup_state.yml
|