Zack Williams | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 1 | --- |
Zack Williams | d2cbe51 | 2016-06-03 09:33:15 -0700 | [diff] [blame] | 2 | # Installs the single node cord-pod XOS configuration, using Juju to provision |
| 3 | # the OpenStack installation inside of VM's on the head node. |
| 4 | # |
| 5 | # This is used by `scripts/single-node-pod.sh` for E2E testing. |
Zack Williams | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 6 | |
Zack Williams | 2233294 | 2016-05-20 12:40:58 -0700 | [diff] [blame] | 7 | - name: Include vars |
Zack Williams | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 8 | hosts: all |
| 9 | tasks: |
| 10 | - include_vars: vars/cord_defaults.yml |
| 11 | - include_vars: vars/cord.yml |
| 12 | - include_vars: vars/cord_keystone.yml |
| 13 | |
Zack Williams | 00175a9 | 2016-05-02 10:35:25 -0700 | [diff] [blame] | 14 | - name: DNS Server and apt-cacher-ng Setup |
Zack Williams | b994a9e | 2016-05-01 22:21:06 -0700 | [diff] [blame] | 15 | hosts: head |
| 16 | become: yes |
| 17 | roles: |
Zack Williams | 00175a9 | 2016-05-02 10:35:25 -0700 | [diff] [blame] | 18 | - dns-nsd |
| 19 | - dns-unbound |
Zack Williams | b994a9e | 2016-05-01 22:21:06 -0700 | [diff] [blame] | 20 | - apt-cacher-ng |
Zack Williams | 5f25f36 | 2016-05-02 09:18:41 -0700 | [diff] [blame] | 21 | |
Zack Williams | a1cd04e | 2016-05-02 10:41:37 -0700 | [diff] [blame] | 22 | - name: Configure all hosts to use DNS server |
| 23 | hosts: all |
| 24 | become: yes |
| 25 | roles: |
| 26 | - dns-configure |
| 27 | |
Zack Williams | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 28 | - name: Prep systems |
| 29 | hosts: all |
| 30 | become: yes |
| 31 | roles: |
| 32 | - common-prep |
Zack Williams | 32d711d | 2016-06-02 10:53:30 -0700 | [diff] [blame] | 33 | - { role: cloudlab-prep, when: on_cloudlab } |
Zack Williams | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 34 | |
Zack Williams | d31bbc9 | 2016-05-20 11:43:18 -0700 | [diff] [blame] | 35 | - name: Configure head node, create VM's |
Zack Williams | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 36 | hosts: head |
| 37 | roles: |
Zack Williams | 5f25f36 | 2016-05-02 09:18:41 -0700 | [diff] [blame] | 38 | - { role: head-prep, become: yes } |
Zack Williams | c990bf7 | 2016-05-01 07:44:53 -0700 | [diff] [blame] | 39 | - { role: config-virt, become: yes } |
Zack Williams | 36a22bf | 2016-05-20 11:54:49 -0700 | [diff] [blame] | 40 | - create-vms |
Zack Williams | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 41 | |
Zack Williams | 2233294 | 2016-05-20 12:40:58 -0700 | [diff] [blame] | 42 | - name: Set up VM's, juju, simulate fabric |
Zack Williams | 82a6b78 | 2016-04-12 14:00:01 -0700 | [diff] [blame] | 43 | hosts: head |
| 44 | roles: |
| 45 | - xos-vm-install |
| 46 | - onos-vm-install |
Zack Williams | d31bbc9 | 2016-05-20 11:43:18 -0700 | [diff] [blame] | 47 | - juju-setup |
Zack Williams | b273a42 | 2016-05-18 13:33:00 -0700 | [diff] [blame] | 48 | - docker-compose |
Zack Williams | 0e58312 | 2016-04-30 16:57:03 -0700 | [diff] [blame] | 49 | - simulate-fabric |
Zack Williams | 82a6b78 | 2016-04-12 14:00:01 -0700 | [diff] [blame] | 50 | |