Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 1 | --- |
| 2 | # aztest playbook, for installing OpenCloud |
| 3 | |
Zack Williams | f08aa4f | 2016-03-02 14:17:10 -0700 | [diff] [blame] | 4 | # Prepare the head node and install juju |
Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 5 | - hosts: head |
Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 6 | roles: |
Zack Williams | 9cdf862 | 2016-02-26 22:42:50 -0700 | [diff] [blame] | 7 | - { role: common-prep, become: yes } |
| 8 | - { role: head-prep, become: yes } |
Zack Williams | 9cdf862 | 2016-02-26 22:42:50 -0700 | [diff] [blame] | 9 | - juju-user-prep |
| 10 | - juju-setup |
Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 11 | |
Zack Williams | f08aa4f | 2016-03-02 14:17:10 -0700 | [diff] [blame] | 12 | # prepare the compute nodes |
Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 13 | - hosts: compute |
| 14 | become: yes |
| 15 | roles: |
Zack Williams | 9cdf862 | 2016-02-26 22:42:50 -0700 | [diff] [blame] | 16 | - { role: common-prep, become: yes } |
| 17 | - { role: compute-prep, become: yes } |
Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 18 | |
Zack Williams | f08aa4f | 2016-03-02 14:17:10 -0700 | [diff] [blame] | 19 | # Finish the openstack config on head (needs compute nodes up to finish) |
| 20 | - hosts: head |
| 21 | roles: |
| 22 | - juju-openstack-config |
| 23 | |