blob: 94965032decf226c8aa5b65054765cf3824af019 [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
Zack Williams22332942016-05-20 12:40:58 -07004- name: Include vars
Zack Williamsef434f82016-04-07 17:15:39 -07005 hosts: all
6 tasks:
7 - include_vars: vars/cord_defaults.yml
8 - include_vars: vars/cord.yml
9 - include_vars: vars/cord_keystone.yml
10
Zack Williams00175a92016-05-02 10:35:25 -070011- name: DNS Server and apt-cacher-ng Setup
Zack Williamsb994a9e2016-05-01 22:21:06 -070012 hosts: head
13 become: yes
14 roles:
Zack Williams00175a92016-05-02 10:35:25 -070015 - dns-nsd
16 - dns-unbound
Zack Williamsb994a9e2016-05-01 22:21:06 -070017 - apt-cacher-ng
Zack Williams5f25f362016-05-02 09:18:41 -070018
Zack Williamsa1cd04e2016-05-02 10:41:37 -070019- name: Configure all hosts to use DNS server
20 hosts: all
21 become: yes
22 roles:
23 - dns-configure
24
Zack Williamsef434f82016-04-07 17:15:39 -070025- name: Prep systems
26 hosts: all
27 become: yes
28 roles:
29 - common-prep
Zack Williams32d711d2016-06-02 10:53:30 -070030 - { role: cloudlab-prep, when: on_cloudlab }
Zack Williamsef434f82016-04-07 17:15:39 -070031
Zack Williamsd31bbc92016-05-20 11:43:18 -070032- name: Configure head node, create VM's
Zack Williamsef434f82016-04-07 17:15:39 -070033 hosts: head
34 roles:
Zack Williams5f25f362016-05-02 09:18:41 -070035 - { role: head-prep, become: yes }
Zack Williamsc990bf72016-05-01 07:44:53 -070036 - { role: config-virt, become: yes }
Zack Williams36a22bf2016-05-20 11:54:49 -070037 - create-vms
Zack Williamsef434f82016-04-07 17:15:39 -070038
Zack Williams22332942016-05-20 12:40:58 -070039- name: Set up VM's, juju, simulate fabric
Zack Williams82a6b782016-04-12 14:00:01 -070040 hosts: head
41 roles:
42 - xos-vm-install
43 - onos-vm-install
Zack Williamsd31bbc92016-05-20 11:43:18 -070044 - juju-setup
Zack Williamsb273a422016-05-18 13:33:00 -070045 - docker-compose
Zack Williams0e583122016-04-30 16:57:03 -070046 - simulate-fabric
Zack Williams82a6b782016-04-12 14:00:01 -070047