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