tenks/ansible/deploy.yml
Mark Goddard d28635d2cf Changes to support standalone ironic
For standalone ironic deployments, such as those deployed using bifrost, there
is typically no keystone or placement service running. Use of the ironic API is
without authentication. We use clouds.yaml in this case.

Change-Id: I61ed791d019e43f6dfc632fa185f079b385c290c
Story: 2004425
Task: 28077
2018-12-20 09:48:21 +00:00

38 lines
866 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
when: wait_for_placement | bool
tags: openstack, resource
- name: Clean up Tenks state
import_playbook: cleanup_state.yml