Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 1 | --- |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 2 | # opencloud-multi-playbook.yml |
Zack Williams | d2cbe51 | 2016-06-03 09:33:15 -0700 | [diff] [blame] | 3 | # Install an OpenCloud site, with multi-node Juju configured OpenStack |
Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 4 | |
Zack Williams | 6f5a6e7 | 2016-08-10 17:45:27 -0700 | [diff] [blame] | 5 | - name: Include vars |
Zack Williams | 709f11b | 2016-03-17 14:29:51 -0700 | [diff] [blame] | 6 | hosts: all |
Zack Williams | 391ddab | 2016-03-15 09:55:19 -0700 | [diff] [blame] | 7 | tasks: |
Zack Williams | 6f5a6e7 | 2016-08-10 17:45:27 -0700 | [diff] [blame] | 8 | - name: Include variables |
9 | include_vars: "{{ item }}" | ||||
10 | with_items: | ||||
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 11 | - "profile_manifests/{{ cord_profile }}.yml" |
12 | - profile_manifests/local_vars.yml | ||||
Zack Williams | 391ddab | 2016-03-15 09:55:19 -0700 | [diff] [blame] | 13 | |
Zack Williams | 6f5a6e7 | 2016-08-10 17:45:27 -0700 | [diff] [blame] | 14 | - name: Turn on virtualization |
Zack Williams | 709f11b | 2016-03-17 14:29:51 -0700 | [diff] [blame] | 15 | hosts: all |
Zack Williams | 391ddab | 2016-03-15 09:55:19 -0700 | [diff] [blame] | 16 | become: yes |
Zack Williams | 391ddab | 2016-03-15 09:55:19 -0700 | [diff] [blame] | 17 | - dell-virt |
18 | |||||
Zack Williams | 6f5a6e7 | 2016-08-10 17:45:27 -0700 | [diff] [blame] | 19 | - name: Check prerequisites |
20 | hosts: all | ||||
21 | roles: | ||||
22 | - prereqs-common | ||||
23 | |||||
24 | - name: DNS Server and apt-cacher-ng Setup | ||||
Zack Williams | 709f11b | 2016-03-17 14:29:51 -0700 | [diff] [blame] | 25 | hosts: head |
Zack Williams | 391ddab | 2016-03-15 09:55:19 -0700 | [diff] [blame] | 26 | become: yes |
27 | roles: | ||||
28 | - dns-nsd | ||||
29 | - dns-unbound | ||||
Zack Williams | 6f5a6e7 | 2016-08-10 17:45:27 -0700 | [diff] [blame] | 30 | - apt-cacher-ng |
Zack Williams | 391ddab | 2016-03-15 09:55:19 -0700 | [diff] [blame] | 31 | |
Zack Williams | 6f5a6e7 | 2016-08-10 17:45:27 -0700 | [diff] [blame] | 32 | - name: Use the new DNS server, prep systems |
Zack Williams | 709f11b | 2016-03-17 14:29:51 -0700 | [diff] [blame] | 33 | hosts: all |
Zack Williams | 391ddab | 2016-03-15 09:55:19 -0700 | [diff] [blame] | 34 | become: yes |
35 | roles: | ||||
36 | - dns-configure | ||||
Zack Williams | 6f5a6e7 | 2016-08-10 17:45:27 -0700 | [diff] [blame] | 37 | - common-prep |
Zack Williams | 391ddab | 2016-03-15 09:55:19 -0700 | [diff] [blame] | 38 | |
Zack Williams | 6f5a6e7 | 2016-08-10 17:45:27 -0700 | [diff] [blame] | 39 | - name: Configure head node, configure virtualization |
Zack Williams | 709f11b | 2016-03-17 14:29:51 -0700 | [diff] [blame] | 40 | hosts: head |
Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 41 | roles: |
Zack Williams | 9cdf862 | 2016-02-26 22:42:50 -0700 | [diff] [blame] | 42 | - { role: head-prep, become: yes } |
Zack Williams | 709f11b | 2016-03-17 14:29:51 -0700 | [diff] [blame] | 43 | - { role: config-virt, become: yes } |
Zack Williams | 6f5a6e7 | 2016-08-10 17:45:27 -0700 | [diff] [blame] | 44 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 45 | - name: Create LXD's, Configure Juju, install XOS |
Zack Williams | 6f5a6e7 | 2016-08-10 17:45:27 -0700 | [diff] [blame] | 46 | hosts: head |
47 | roles: | ||||
Zack Williams | 682450e | 2016-11-19 09:04:41 -0700 | [diff] [blame] | 48 | - create-lxd |
Zack Williams | 682450e | 2016-11-19 09:04:41 -0700 | [diff] [blame] | 49 | - onos-vm-install |
Zack Williams | 9cdf862 | 2016-02-26 22:42:50 -0700 | [diff] [blame] | 50 | - juju-setup |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 51 | - juju-finish |
52 | - cord-profile | ||||
53 | - xos-docker-images | ||||
54 | - xos-bootstrap | ||||
Zack Williams | 682450e | 2016-11-19 09:04:41 -0700 | [diff] [blame] | 55 | - docker-compose |
56 | - xos-head-start | ||||
Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 57 | |
Zack Williams | 709f11b | 2016-03-17 14:29:51 -0700 | [diff] [blame] | 58 | - name: Configure compute nodes |
59 | hosts: compute | ||||
Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 60 | become: yes |
61 | roles: | ||||
Zack Williams | 391ddab | 2016-03-15 09:55:19 -0700 | [diff] [blame] | 62 | - compute-prep |
Zack Williams | 8625d04 | 2016-02-26 14:32:43 -0700 | [diff] [blame] | 63 | |
Zack Williams | 6f5a6e7 | 2016-08-10 17:45:27 -0700 | [diff] [blame] | 64 | - name: Deploy compute nodes |
Zack Williams | 709f11b | 2016-03-17 14:29:51 -0700 | [diff] [blame] | 65 | hosts: head |
Zack Williams | f08aa4f | 2016-03-02 14:17:10 -0700 | [diff] [blame] | 66 | roles: |
Zack Williams | 6f5a6e7 | 2016-08-10 17:45:27 -0700 | [diff] [blame] | 67 | - juju-compute-setup |
Zack Williams | f08aa4f | 2016-03-02 14:17:10 -0700 | [diff] [blame] | 68 |