blob: 21e8bd4155b565a17e8c2f08b8e601312390130c [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 Williams00175a92016-05-02 10:35:25 -070014- name: DNS Server and apt-cacher-ng Setup
Zack Williamsb994a9e2016-05-01 22:21:06 -070015 hosts: head
16 become: yes
17 roles:
Zack Williams00175a92016-05-02 10:35:25 -070018 - dns-nsd
19 - dns-unbound
Zack Williamsb994a9e2016-05-01 22:21:06 -070020 - apt-cacher-ng
Zack Williams5f25f362016-05-02 09:18:41 -070021
Zack Williamsef434f82016-04-07 17:15:39 -070022- name: Prep systems
23 hosts: all
24 become: yes
25 roles:
26 - common-prep
27 - cloudlab-prep
28
Zack Williamsef434f82016-04-07 17:15:39 -070029
30- name: Configure all hosts to use DNS server
31 hosts: all
32 become: yes
33 roles:
34 - dns-configure
35
Zack Williamsc990bf72016-05-01 07:44:53 -070036- name: Configure head node, create VM's, setup juju
Zack Williamsef434f82016-04-07 17:15:39 -070037 hosts: head
38 roles:
Zack Williams5f25f362016-05-02 09:18:41 -070039 - { role: head-prep, become: yes }
Zack Williamsc990bf72016-05-01 07:44:53 -070040 - { role: config-virt, become: yes }
Zack Williamsef434f82016-04-07 17:15:39 -070041 - juju-user-prep
42 - juju-setup
43
Zack Williams82a6b782016-04-12 14:00:01 -070044- name: Set up XOS and ONOS
45 hosts: head
46 roles:
47 - xos-vm-install
48 - onos-vm-install
Zack Williams22b09172016-04-30 16:12:20 -070049 - docker-compose-pull
Zack Williams0e583122016-04-30 16:57:03 -070050 - simulate-fabric
Zack Williams82a6b782016-04-12 14:00:01 -070051