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