blob: bd7c7d0de07e48bfbf44b1fe8e46ac6b0464aa2a [file] [log] [blame]
Zack Williamsef434f82016-04-07 17:15:39 -07001---
2# CORD playbook, for installing a single-node CORD test-environment on cloudlab
3
4- name: Include Configuration
5 hosts: all
Zack Williams22b09172016-04-30 16:12:20 -07006 vars:
7 - xos_repo_branch: "feature/role-setup"
8
Zack Williamsef434f82016-04-07 17:15:39 -07009 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
Zack Williams4ea99942016-05-01 06:35:58 -070034- name: Configure head node, create VM's
35 hosts: head
36 become: yes
37 roles:
38 - head-prep
39 - config-virt
40
41- name: Setup Juju
Zack Williamsef434f82016-04-07 17:15:39 -070042 hosts: head
43 roles:
Zack Williamsef434f82016-04-07 17:15:39 -070044 - juju-user-prep
45 - juju-setup
46
Zack Williams82a6b782016-04-12 14:00:01 -070047- name: Set up XOS and ONOS
48 hosts: head
49 roles:
50 - xos-vm-install
51 - onos-vm-install
Zack Williams22b09172016-04-30 16:12:20 -070052 - docker-compose-pull
Zack Williams0e583122016-04-30 16:57:03 -070053 - simulate-fabric
Zack Williams82a6b782016-04-12 14:00:01 -070054