blob: 347e8ecb22233add328147c408f3496c86cb721f [file] [log] [blame]
Zack Williams8625d042016-02-26 14:32:43 -07001---
Zack Williams391ddab2016-03-15 09:55:19 -07002# aztest playbook, for installing an OpenCloud site
Zack Williams8625d042016-02-26 14:32:43 -07003
Zack Williams391ddab2016-03-15 09:55:19 -07004- hosts: all
5 tasks:
6 - include_vars: vars/opencloud_defaults.yml
7 - include_vars: vars/aztest.yml
8
9# common setup
10- hosts: all
11 become: yes
12 roles:
13 - common-prep
14 - dell-virt
15
16# Install DNS servers on the head node
17- hosts: head
18 become: yes
19 roles:
20 - dns-nsd
21 - dns-unbound
22
23# Configure DNS serves on all
24
25- hosts: all
26 become: yes
27 roles:
28 - dns-configure
29
30# prepare the head node, install juju
Zack Williams8625d042016-02-26 14:32:43 -070031- hosts: head
Zack Williams8625d042016-02-26 14:32:43 -070032 roles:
Zack Williams9cdf8622016-02-26 22:42:50 -070033 - { role: head-prep, become: yes }
Zack Williams9cdf8622016-02-26 22:42:50 -070034 - juju-user-prep
35 - juju-setup
Zack Williams8625d042016-02-26 14:32:43 -070036
Zack Williamsf08aa4f2016-03-02 14:17:10 -070037# prepare the compute nodes
Zack Williams8625d042016-02-26 14:32:43 -070038- hosts: compute
39 become: yes
40 roles:
Zack Williams391ddab2016-03-15 09:55:19 -070041 - compute-prep
Zack Williams8625d042016-02-26 14:32:43 -070042
Zack Williams391ddab2016-03-15 09:55:19 -070043# configure openstack on head node, including compute nodes
Zack Williamsf08aa4f2016-03-02 14:17:10 -070044- hosts: head
45 roles:
46 - juju-openstack-config
47