d4e7e58619
This will wait for any resources that are created to become available before exiting the script. This allows you to avoid a race condition where a server could be created before the resource tracker had been updated with the new resources; server creation would fail. Change-Id: I57f8c93cb1ebbc284b96ef1ced2c4edd59b27795 Story: 2004274 Task: 27823 Depends-On: https://review.openstack.org/617642
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
|