37 lines
832 B
YAML
37 lines
832 B
YAML
---
|
|
- hosts: all
|
|
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
|
|
tags: openstack, resource
|
|
|
|
- name: Clean up Tenks state
|
|
import_playbook: cleanup_state.yml
|