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 | |
Zack Williams | 5f25f36 | 2016-05-02 09:18:41 -0700 | [diff] [blame] | 14 | - name: apt-cacher-ng Setup |
Zack Williams | b994a9e | 2016-05-01 22:21:06 -0700 | [diff] [blame] | 15 | hosts: head |
| 16 | become: yes |
| 17 | roles: |
| 18 | - apt-cacher-ng |
Zack Williams | 5f25f36 | 2016-05-02 09:18:41 -0700 | [diff] [blame] | 19 | |
Zack Williams | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 20 | - name: Prep systems |
| 21 | hosts: all |
| 22 | become: yes |
| 23 | roles: |
| 24 | - common-prep |
| 25 | - cloudlab-prep |
| 26 | |
Zack Williams | b994a9e | 2016-05-01 22:21:06 -0700 | [diff] [blame] | 27 | - name: DNS Server Setup |
Zack Williams | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 28 | hosts: head |
| 29 | become: yes |
| 30 | roles: |
| 31 | - dns-nsd |
| 32 | - dns-unbound |
| 33 | |
| 34 | - name: Configure all hosts to use DNS server |
| 35 | hosts: all |
| 36 | become: yes |
| 37 | roles: |
| 38 | - dns-configure |
| 39 | |
Zack Williams | c990bf7 | 2016-05-01 07:44:53 -0700 | [diff] [blame] | 40 | - name: Configure head node, create VM's, setup juju |
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 | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 45 | - juju-user-prep |
| 46 | - juju-setup |
| 47 | |
Zack Williams | 82a6b78 | 2016-04-12 14:00:01 -0700 | [diff] [blame] | 48 | - name: Set up XOS and ONOS |
| 49 | hosts: head |
| 50 | roles: |
| 51 | - xos-vm-install |
| 52 | - onos-vm-install |
Zack Williams | 22b0917 | 2016-04-30 16:12:20 -0700 | [diff] [blame] | 53 | - docker-compose-pull |
Zack Williams | 0e58312 | 2016-04-30 16:57:03 -0700 | [diff] [blame] | 54 | - simulate-fabric |
Zack Williams | 82a6b78 | 2016-04-12 14:00:01 -0700 | [diff] [blame] | 55 | |