blob: 837c14a26726ab12a3e37eb08541f77f9103b17f [file] [log] [blame]
Zack Williams8625d042016-02-26 14:32:43 -07001---
2# aztest playbook, for installing OpenCloud
3
Zack Williamsf08aa4f2016-03-02 14:17:10 -07004# Prepare the head node and install juju
Zack Williams8625d042016-02-26 14:32:43 -07005- hosts: head
Zack Williams8625d042016-02-26 14:32:43 -07006 roles:
Zack Williams9cdf8622016-02-26 22:42:50 -07007 - { role: common-prep, become: yes }
8 - { role: head-prep, become: yes }
Zack Williams9cdf8622016-02-26 22:42:50 -07009 - juju-user-prep
10 - juju-setup
Zack Williams8625d042016-02-26 14:32:43 -070011
Zack Williamsf08aa4f2016-03-02 14:17:10 -070012# prepare the compute nodes
Zack Williams8625d042016-02-26 14:32:43 -070013- hosts: compute
14 become: yes
15 roles:
Zack Williams9cdf8622016-02-26 22:42:50 -070016 - { role: common-prep, become: yes }
17 - { role: compute-prep, become: yes }
Zack Williams8625d042016-02-26 14:32:43 -070018
Zack Williamsf08aa4f2016-03-02 14:17:10 -070019# Finish the openstack config on head (needs compute nodes up to finish)
20- hosts: head
21 roles:
22 - juju-openstack-config
23