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 | 709f11b | 2016-03-17 14:29:51 -0700 | [diff] [blame] | 4 | - name: Include Configuration |
5 | hosts: all | ||||
Zack Williams | 391ddab | 2016-03-15 09:55:19 -0700 | [diff] [blame] | 6 | tasks: |
7 | - include_vars: vars/opencloud_defaults.yml | ||||
8 | - include_vars: vars/aztest.yml | ||||
Zack Williams | 709f11b | 2016-03-17 14:29:51 -0700 | [diff] [blame] | 9 | - include_vars: vars/aztest_keystone.yml |
Zack Williams | 391ddab | 2016-03-15 09:55:19 -0700 | [diff] [blame] | 10 | |
Zack Williams | 709f11b | 2016-03-17 14:29:51 -0700 | [diff] [blame] | 11 | - name: Prep systems, and enable virtualization |
12 | hosts: all | ||||
Zack Williams | 391ddab | 2016-03-15 09:55:19 -0700 | [diff] [blame] | 13 | become: yes |
14 | roles: | ||||
15 | - common-prep | ||||
16 | - dell-virt | ||||
17 | |||||
Zack Williams | 709f11b | 2016-03-17 14:29:51 -0700 | [diff] [blame] | 18 | - name: DNS Server Setup |
19 | hosts: head | ||||
Zack Williams | 391ddab | 2016-03-15 09:55:19 -0700 | [diff] [blame] | 20 | become: yes |
21 | roles: | ||||
22 | - dns-nsd | ||||
23 | - dns-unbound | ||||
24 | |||||
Zack Williams | 709f11b | 2016-03-17 14:29:51 -0700 | [diff] [blame] | 25 | - name: Configure all hosts to use DNS server |
26 | hosts: all | ||||
Zack Williams | 391ddab | 2016-03-15 09:55:19 -0700 | [diff] [blame] | 27 | become: yes |
28 | roles: | ||||
29 | - dns-configure | ||||
30 | |||||
Zack Williams | 709f11b | 2016-03-17 14:29:51 -0700 | [diff] [blame] | 31 | - name: Configure head node, create VM's, and start Juju setup |
32 | hosts: head | ||||
Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 33 | roles: |
Zack Williams | 9cdf862 | 2016-02-26 22:42:50 -0700 | [diff] [blame] | 34 | - { role: head-prep, become: yes } |
Zack Williams | 709f11b | 2016-03-17 14:29:51 -0700 | [diff] [blame] | 35 | - { role: config-virt, become: yes } |
Zack Williams | 9cdf862 | 2016-02-26 22:42:50 -0700 | [diff] [blame] | 36 | - juju-user-prep |
37 | - juju-setup | ||||
Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 38 | |
Zack Williams | 709f11b | 2016-03-17 14:29:51 -0700 | [diff] [blame] | 39 | - name: Configure compute nodes |
40 | hosts: compute | ||||
Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 41 | become: yes |
42 | roles: | ||||
Zack Williams | 391ddab | 2016-03-15 09:55:19 -0700 | [diff] [blame] | 43 | - compute-prep |
Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 44 | |
Zack Williams | 709f11b | 2016-03-17 14:29:51 -0700 | [diff] [blame] | 45 | - name: Configure Openstack using Juju |
46 | hosts: head | ||||
Zack Williams | f08aa4f | 2016-03-02 14:17:10 -0700 | [diff] [blame] | 47 | roles: |
48 | - juju-openstack-config | ||||
49 |