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 | 8941283 | 2016-06-27 21:17:01 -0700 | [diff] [blame] | 8 | hosts: head |
Zack Williams | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 9 | tasks: |
Andy Bavier | 3a1d064 | 2016-07-01 14:11:39 -0400 | [diff] [blame] | 10 | - include_vars: vars/cord_single_defaults.yml |
Zack Williams | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 11 | - include_vars: vars/cord.yml |
Andy Bavier | 1b8a537 | 2016-07-07 19:36:21 -0400 | [diff] [blame] | 12 | - include_vars: vars/example_keystone.yml |
Zack Williams | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 13 | |
Zack Williams | 82c88e9 | 2016-08-08 13:54:20 -0700 | [diff] [blame] | 14 | - name: Check Prerequisites |
15 | hosts: head | ||||
16 | roles: | ||||
17 | - prereqs-common | ||||
18 | |||||
Zack Williams | 00175a9 | 2016-05-02 10:35:25 -0700 | [diff] [blame] | 19 | - name: DNS Server and apt-cacher-ng Setup |
Zack Williams | b994a9e | 2016-05-01 22:21:06 -0700 | [diff] [blame] | 20 | hosts: head |
21 | become: yes | ||||
22 | roles: | ||||
Zack Williams | 00175a9 | 2016-05-02 10:35:25 -0700 | [diff] [blame] | 23 | - dns-nsd |
24 | - dns-unbound | ||||
Zack Williams | b994a9e | 2016-05-01 22:21:06 -0700 | [diff] [blame] | 25 | - apt-cacher-ng |
Zack Williams | 5f25f36 | 2016-05-02 09:18:41 -0700 | [diff] [blame] | 26 | |
Zack Williams | a1cd04e | 2016-05-02 10:41:37 -0700 | [diff] [blame] | 27 | - name: Configure all hosts to use DNS server |
Zack Williams | 8941283 | 2016-06-27 21:17:01 -0700 | [diff] [blame] | 28 | hosts: head |
Zack Williams | a1cd04e | 2016-05-02 10:41:37 -0700 | [diff] [blame] | 29 | become: yes |
30 | roles: | ||||
31 | - dns-configure | ||||
32 | |||||
Zack Williams | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 33 | - name: Prep systems |
Zack Williams | 8941283 | 2016-06-27 21:17:01 -0700 | [diff] [blame] | 34 | hosts: head |
Zack Williams | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 35 | become: yes |
36 | roles: | ||||
37 | - common-prep | ||||
Zack Williams | 32d711d | 2016-06-02 10:53:30 -0700 | [diff] [blame] | 38 | - { role: cloudlab-prep, when: on_cloudlab } |
Zack Williams | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 39 | |
Zack Williams | d31bbc9 | 2016-05-20 11:43:18 -0700 | [diff] [blame] | 40 | - name: Configure head node, create VM's |
Zack Williams | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 41 | hosts: head |
42 | roles: | ||||
Zack Williams | 5f25f36 | 2016-05-02 09:18:41 -0700 | [diff] [blame] | 43 | - { role: head-prep, become: yes } |
Zack Williams | c990bf7 | 2016-05-01 07:44:53 -0700 | [diff] [blame] | 44 | - { role: config-virt, become: yes } |
Zack Williams | 36a22bf | 2016-05-20 11:54:49 -0700 | [diff] [blame] | 45 | - create-vms |
Zack Williams | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 46 | |
Zack Williams | 2233294 | 2016-05-20 12:40:58 -0700 | [diff] [blame] | 47 | - name: Set up VM's, juju, simulate fabric |
Zack Williams | 82a6b78 | 2016-04-12 14:00:01 -0700 | [diff] [blame] | 48 | hosts: head |
49 | roles: | ||||
50 | - xos-vm-install | ||||
51 | - onos-vm-install | ||||
Zack Williams | d31bbc9 | 2016-05-20 11:43:18 -0700 | [diff] [blame] | 52 | - juju-setup |
Zack Williams | 0e58312 | 2016-04-30 16:57:03 -0700 | [diff] [blame] | 53 | - simulate-fabric |
Andy Bavier | a27effe | 2016-07-18 19:23:26 -0400 | [diff] [blame] | 54 | - { role: test-client-install, when: test_client_install } |
55 | - docker-compose | ||||
Andy Bavier | c233512 | 2016-06-25 09:59:22 -0400 | [diff] [blame] | 56 | - onos-load-apps |
Andy Bavier | 3a1d064 | 2016-07-01 14:11:39 -0400 | [diff] [blame] | 57 | - xos-start |