Andy Bavier | 12262e7 | 2016-12-02 11:36:57 -0500 | [diff] [blame] | 1 | --- |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 2 | # deploy-openstack-playbook.yml |
Andy Bavier | 12262e7 | 2016-12-02 11:36:57 -0500 | [diff] [blame] | 3 | # Deploys OpenStack in LXD containers on the CORD head node |
4 | |||||
5 | - name: Include vars | ||||
Zack Williams | 5223dd9 | 2017-02-28 23:38:02 -0700 | [diff] [blame] | 6 | hosts: all |
Andy Bavier | 12262e7 | 2016-12-02 11:36:57 -0500 | [diff] [blame] | 7 | tasks: |
8 | - name: Include variables | ||||
9 | include_vars: "{{ item }}" | ||||
10 | with_items: | ||||
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 11 | - "profile_manifests/{{ cord_profile }}.yml" |
12 | - profile_manifests/local_vars.yml | ||||
Andy Bavier | 12262e7 | 2016-12-02 11:36:57 -0500 | [diff] [blame] | 13 | |
Zack Williams | 5223dd9 | 2017-02-28 23:38:02 -0700 | [diff] [blame] | 14 | - name: Create LXD containers |
Andy Bavier | 12262e7 | 2016-12-02 11:36:57 -0500 | [diff] [blame] | 15 | hosts: head |
Zack Williams | 5223dd9 | 2017-02-28 23:38:02 -0700 | [diff] [blame] | 16 | become: yes |
Andy Bavier | 12262e7 | 2016-12-02 11:36:57 -0500 | [diff] [blame] | 17 | roles: |
Andy Bavier | 12262e7 | 2016-12-02 11:36:57 -0500 | [diff] [blame] | 18 | - create-lxd |
19 | |||||
Zack Williams | 5223dd9 | 2017-02-28 23:38:02 -0700 | [diff] [blame] | 20 | - name: Finish container configuration |
21 | hosts: head | ||||
22 | roles: | ||||
23 | - lxd-finish | ||||
24 | |||||
25 | - name: Juju OpenStack install | ||||
Andy Bavier | 12262e7 | 2016-12-02 11:36:57 -0500 | [diff] [blame] | 26 | hosts: head |
27 | roles: | ||||
28 | - juju-setup | ||||
Andy Bavier | 12262e7 | 2016-12-02 11:36:57 -0500 | [diff] [blame] | 29 | - juju-finish |
Zack Williams | 5223dd9 | 2017-02-28 23:38:02 -0700 | [diff] [blame] | 30 |