blob: fa44a2d22e7328cfe8ddc3eae3a8e6b326d43348 [file] [log] [blame]
Andy Bavier12262e72016-12-02 11:36:57 -05001---
Zack Williamsa2763112017-01-03 11:38:38 -07002# deploy-openstack-playbook.yml
Andy Bavier12262e72016-12-02 11:36:57 -05003# Deploys OpenStack in LXD containers on the CORD head node
4
5- name: Include vars
Zack Williamsc047c872017-01-11 08:38:15 -07006 hosts: all, localhost
Andy Bavier12262e72016-12-02 11:36:57 -05007 tasks:
8 - name: Include variables
9 include_vars: "{{ item }}"
10 with_items:
Zack Williamsa2763112017-01-03 11:38:38 -070011 - "profile_manifests/{{ cord_profile }}.yml"
12 - profile_manifests/local_vars.yml
Andy Bavier12262e72016-12-02 11:36:57 -050013
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