blob: c226493c81ed9c39771e0f5fa82e53671882fac9 [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 Williamsa1cd04e2016-05-02 10:41:37 -070022- name: Configure all hosts to use DNS server
23 hosts: all
24 become: yes
25 roles:
26 - dns-configure
27
Zack Williamsef434f82016-04-07 17:15:39 -070028- name: Prep systems
29 hosts: all
30 become: yes
31 roles:
32 - common-prep
33 - cloudlab-prep
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 Williams5f25f362016-05-02 09:18:41 -070038 - { role: head-prep, become: yes }
Zack Williamsc990bf72016-05-01 07:44:53 -070039 - { 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