Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 1 | --- |
Zack Williams | 391ddab | 2016-03-15 09:55:19 -0700 | [diff] [blame] | 2 | # aztest playbook, for installing an OpenCloud site |
Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 3 | |
Zack Williams | 391ddab | 2016-03-15 09:55:19 -0700 | [diff] [blame] | 4 | - 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 Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 31 | - hosts: head |
Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 32 | roles: |
Zack Williams | 9cdf862 | 2016-02-26 22:42:50 -0700 | [diff] [blame] | 33 | - { role: head-prep, become: yes } |
Zack Williams | 9cdf862 | 2016-02-26 22:42:50 -0700 | [diff] [blame] | 34 | - juju-user-prep |
| 35 | - juju-setup |
Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 36 | |
Zack Williams | f08aa4f | 2016-03-02 14:17:10 -0700 | [diff] [blame] | 37 | # prepare the compute nodes |
Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 38 | - hosts: compute |
| 39 | become: yes |
| 40 | roles: |
Zack Williams | 391ddab | 2016-03-15 09:55:19 -0700 | [diff] [blame] | 41 | - compute-prep |
Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 42 | |
Zack Williams | 391ddab | 2016-03-15 09:55:19 -0700 | [diff] [blame] | 43 | # configure openstack on head node, including compute nodes |
Zack Williams | f08aa4f | 2016-03-02 14:17:10 -0700 | [diff] [blame] | 44 | - hosts: head |
| 45 | roles: |
| 46 | - juju-openstack-config |
| 47 | |