blob: 5c173db580c7e44235075434394787528dc92e7e [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
Zack Williams5f25f362016-05-02 09:18:41 -070014- name: apt-cacher-ng Setup
Zack Williamsb994a9e2016-05-01 22:21:06 -070015 hosts: head
16 become: yes
17 roles:
18 - apt-cacher-ng
Zack Williams5f25f362016-05-02 09:18:41 -070019
Zack Williamsef434f82016-04-07 17:15:39 -070020- name: Prep systems
21 hosts: all
22 become: yes
23 roles:
24 - common-prep
25 - cloudlab-prep
26
Zack Williamsb994a9e2016-05-01 22:21:06 -070027- name: DNS Server Setup
Zack Williamsef434f82016-04-07 17:15:39 -070028 hosts: head
29 become: yes
30 roles:
31 - dns-nsd
32 - dns-unbound
33
34- name: Configure all hosts to use DNS server
35 hosts: all
36 become: yes
37 roles:
38 - dns-configure
39
Zack Williamsc990bf72016-05-01 07:44:53 -070040- name: Configure head node, create VM's, setup juju
Zack Williamsef434f82016-04-07 17:15:39 -070041 hosts: head
42 roles:
Zack Williams5f25f362016-05-02 09:18:41 -070043 - { role: head-prep, become: yes }
Zack Williamsc990bf72016-05-01 07:44:53 -070044 - { role: config-virt, become: yes }
Zack Williamsef434f82016-04-07 17:15:39 -070045 - juju-user-prep
46 - juju-setup
47
Zack Williams82a6b782016-04-12 14:00:01 -070048- name: Set up XOS and ONOS
49 hosts: head
50 roles:
51 - xos-vm-install
52 - onos-vm-install
Zack Williams22b09172016-04-30 16:12:20 -070053 - docker-compose-pull
Zack Williams0e583122016-04-30 16:57:03 -070054 - simulate-fabric
Zack Williams82a6b782016-04-12 14:00:01 -070055