blob: 3a0e5966245df6b4a1aef51f41c7fe2f8425433c [file] [log] [blame]
Andy Bavier12262e72016-12-02 11:36:57 -05001---
2# Deploys OpenStack in LXD containers on the CORD head node
3
4- name: Include vars
5 hosts: all
6 tasks:
7 - name: Include variables
8 include_vars: "{{ item }}"
9 with_items:
10 - vars/cord_defaults.yml
11 - vars/cord.yml
12 - vars/example_keystone.yml
13
14- name: Configure head node, create containers
15 hosts: head
16 roles:
17 - { role: head-prep, become: yes }
18 - create-lxd
19
20- name: Start OpenStack install
21 hosts: head
22 roles:
23 - juju-setup
24
25# Put plays here that will execute in parallel to
26# the OpenStack installation
27
28- name: Finish OpenStack install
29 hosts: head
30 roles:
31 - juju-finish