blob: 97a4efc35675ec5fb2a4f559bde39da44e2ac941 [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
Zack Williamsc047c872017-01-11 08:38:15 -07005 hosts: all, localhost
Andy Bavier12262e72016-12-02 11:36:57 -05006 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
Zack Williamsc047c872017-01-11 08:38:15 -070020- name: Create SSL root/intermediate CAs and server certificates
21 connection: local
22 hosts: localhost
23 roles:
24 - pki-root-ca
25 - pki-intermediate-ca
26 - pki-cert
27
28- name: Install CA certificates
29 hosts: head
30 roles:
31 - pki-install
32
Andy Bavier12262e72016-12-02 11:36:57 -050033- name: Start OpenStack install
34 hosts: head
35 roles:
36 - juju-setup
37
38# Put plays here that will execute in parallel to
39# the OpenStack installation
40
41- name: Finish OpenStack install
42 hosts: head
43 roles:
44 - juju-finish
Zack Williamsc047c872017-01-11 08:38:15 -070045