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 | |
| 4 | - name: Include Configuration |
| 5 | hosts: all |
Zack Williams | 22b0917 | 2016-04-30 16:12:20 -0700 | [diff] [blame] | 6 | vars: |
| 7 | - xos_repo_branch: "feature/role-setup" |
| 8 | |
Zack Williams | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 9 | tasks: |
| 10 | - include_vars: vars/cord_defaults.yml |
| 11 | - include_vars: vars/cord.yml |
| 12 | - include_vars: vars/cord_keystone.yml |
| 13 | |
| 14 | - name: Prep systems |
| 15 | hosts: all |
| 16 | become: yes |
| 17 | roles: |
| 18 | - common-prep |
| 19 | - cloudlab-prep |
| 20 | |
Zack Williams | c11aea5 | 2016-05-01 21:34:37 -0700 | [diff] [blame^] | 21 | - name: Cache and DNS Server Setup |
Zack Williams | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 22 | hosts: head |
| 23 | become: yes |
| 24 | roles: |
Zack Williams | c11aea5 | 2016-05-01 21:34:37 -0700 | [diff] [blame^] | 25 | - apt-cacher-ng |
Zack Williams | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 26 | - dns-nsd |
| 27 | - dns-unbound |
| 28 | |
| 29 | - name: Configure all hosts to use DNS server |
| 30 | hosts: all |
| 31 | become: yes |
| 32 | roles: |
| 33 | - dns-configure |
| 34 | |
Zack Williams | c990bf7 | 2016-05-01 07:44:53 -0700 | [diff] [blame] | 35 | - name: Configure head node, create VM's, setup juju |
Zack Williams | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 36 | hosts: head |
| 37 | roles: |
Zack Williams | c990bf7 | 2016-05-01 07:44:53 -0700 | [diff] [blame] | 38 | - { role: head-prep, become: yes } |
| 39 | - { role: config-virt, become: yes } |
Zack Williams | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 40 | - juju-user-prep |
| 41 | - juju-setup |
| 42 | |
Zack Williams | 82a6b78 | 2016-04-12 14:00:01 -0700 | [diff] [blame] | 43 | - name: Set up XOS and ONOS |
| 44 | hosts: head |
| 45 | roles: |
| 46 | - xos-vm-install |
| 47 | - onos-vm-install |
Zack Williams | 22b0917 | 2016-04-30 16:12:20 -0700 | [diff] [blame] | 48 | - docker-compose-pull |
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 | |