blob: 665cdad87f1e7f4a8cfd51f94c9b26baa0ae0d51 [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
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 Williams82a6b782016-04-12 14:00:01 -070042- name: Set up XOS and ONOS
43 hosts: head
44 roles:
45 - xos-vm-install
46 - onos-vm-install
Zack Williams22b09172016-04-30 16:12:20 -070047 - docker-compose-pull
Zack Williams0e583122016-04-30 16:57:03 -070048 - simulate-fabric
Zack Williams82a6b782016-04-12 14:00:01 -070049