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 | |
| 21 | - name: DNS Server Setup |
| 22 | hosts: head |
| 23 | become: yes |
| 24 | roles: |
| 25 | - dns-nsd |
| 26 | - dns-unbound |
| 27 | |
| 28 | - name: Configure all hosts to use DNS server |
| 29 | hosts: all |
| 30 | become: yes |
| 31 | roles: |
| 32 | - dns-configure |
| 33 | |
| 34 | - name: Configure head node, create VM's, and start Juju setup |
| 35 | hosts: head |
| 36 | roles: |
| 37 | - { role: head-prep, become: yes } |
| 38 | - { role: config-virt, become: yes } |
| 39 | - juju-user-prep |
| 40 | - juju-setup |
| 41 | |
Zack Williams | 82a6b78 | 2016-04-12 14:00:01 -0700 | [diff] [blame] | 42 | - name: Set up XOS and ONOS |
| 43 | hosts: head |
| 44 | roles: |
| 45 | - xos-vm-install |
| 46 | - onos-vm-install |
Zack Williams | 22b0917 | 2016-04-30 16:12:20 -0700 | [diff] [blame] | 47 | - docker-compose-pull |
Zack Williams | 0e58312 | 2016-04-30 16:57:03 -0700 | [diff] [blame] | 48 | - simulate-fabric |
Zack Williams | 82a6b78 | 2016-04-12 14:00:01 -0700 | [diff] [blame] | 49 | |