blob: 8ebda810065393b6fc6ccf5c0ff01874865970ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
---
- name: Generate the templates
include: generate-templates.yml
when:
- stack_state == 'present'
- name: Handle the Stack (create/delete)
ignore_errors: False
register: stack_create
os_stack:
name: "{{ stack_name }}"
state: "{{ stack_state }}"
template: "{{ stack_template_path | default(omit) }}"
wait: yes
- name: Add the new nodes to the inventory
meta: refresh_inventory
- name: Populate DNS entries
include: populate-dns.yml
when:
- stack_state == 'present'
- name: CleanUp
include: cleanup.yml
when:
- stack_state == 'present'
# TODO(shadower): create the registry and PV Cinder volumes if specified
# and include the `prepare-and-format-cinder-volume` tasks to set it up
|