blob: f92f073443509e7851dd5959c5dcef1b304a67c6 [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
Zack Williamsc11aea52016-05-01 21:34:37 -070021- name: Cache and DNS Server Setup
Zack Williamsef434f82016-04-07 17:15:39 -070022 hosts: head
23 become: yes
24 roles:
Zack Williamsc11aea52016-05-01 21:34:37 -070025 - apt-cacher-ng
Zack Williamsef434f82016-04-07 17:15:39 -070026 - dns-nsd
27 - dns-unbound
28
29- name: Configure all hosts to use DNS server
30 hosts: all
31 become: yes
32 roles:
33 - dns-configure
34
Zack Williamsc990bf72016-05-01 07:44:53 -070035- name: Configure head node, create VM's, setup juju
Zack Williamsef434f82016-04-07 17:15:39 -070036 hosts: head
37 roles:
Zack Williamsc990bf72016-05-01 07:44:53 -070038 - { role: head-prep, become: yes }
39 - { role: config-virt, become: yes }
Zack Williamsef434f82016-04-07 17:15:39 -070040 - juju-user-prep
41 - juju-setup
42
Zack Williams82a6b782016-04-12 14:00:01 -070043- name: Set up XOS and ONOS
44 hosts: head
45 roles:
46 - xos-vm-install
47 - onos-vm-install
Zack Williams22b09172016-04-30 16:12:20 -070048 - docker-compose-pull
Zack Williams0e583122016-04-30 16:57:03 -070049 - simulate-fabric
Zack Williams82a6b782016-04-12 14:00:01 -070050