blob: 0468a6292a53733d20396081eaaa5fe42b9eff66 [file] [log] [blame]
Zack Williams8625d042016-02-26 14:32:43 -07001---
Zack Williamsd2cbe512016-06-03 09:33:15 -07002# Install an OpenCloud site, with multi-node Juju configured OpenStack
Zack Williams8625d042016-02-26 14:32:43 -07003
Zack Williams709f11b2016-03-17 14:29:51 -07004- name: Include Configuration
5 hosts: all
Zack Williams391ddab2016-03-15 09:55:19 -07006 tasks:
7 - include_vars: vars/opencloud_defaults.yml
8 - include_vars: vars/aztest.yml
Zack Williams709f11b2016-03-17 14:29:51 -07009 - include_vars: vars/aztest_keystone.yml
Zack Williams391ddab2016-03-15 09:55:19 -070010
Zack Williams709f11b2016-03-17 14:29:51 -070011- name: Prep systems, and enable virtualization
12 hosts: all
Zack Williams391ddab2016-03-15 09:55:19 -070013 become: yes
14 roles:
15 - common-prep
16 - dell-virt
17
Zack Williams709f11b2016-03-17 14:29:51 -070018- name: DNS Server Setup
19 hosts: head
Zack Williams391ddab2016-03-15 09:55:19 -070020 become: yes
21 roles:
22 - dns-nsd
23 - dns-unbound
24
Zack Williams709f11b2016-03-17 14:29:51 -070025- name: Configure all hosts to use DNS server
26 hosts: all
Zack Williams391ddab2016-03-15 09:55:19 -070027 become: yes
28 roles:
29 - dns-configure
30
Zack Williams709f11b2016-03-17 14:29:51 -070031- name: Configure head node, create VM's, and start Juju setup
32 hosts: head
Zack Williams8625d042016-02-26 14:32:43 -070033 roles:
Zack Williams9cdf8622016-02-26 22:42:50 -070034 - { role: head-prep, become: yes }
Zack Williams709f11b2016-03-17 14:29:51 -070035 - { role: config-virt, become: yes }
Zack Williams9cdf8622016-02-26 22:42:50 -070036 - juju-user-prep
37 - juju-setup
Zack Williams8625d042016-02-26 14:32:43 -070038
Zack Williams709f11b2016-03-17 14:29:51 -070039- name: Configure compute nodes
40 hosts: compute
Zack Williams8625d042016-02-26 14:32:43 -070041 become: yes
42 roles:
Zack Williams391ddab2016-03-15 09:55:19 -070043 - compute-prep
Zack Williams8625d042016-02-26 14:32:43 -070044
Zack Williams709f11b2016-03-17 14:29:51 -070045- name: Configure Openstack using Juju
46 hosts: head
Zack Williamsf08aa4f2016-03-02 14:17:10 -070047 roles:
48 - juju-openstack-config
49