blob: dec17a39f75bb33313a2a5005b3f7ff87201499f [file] [log] [blame]
Zack Williamsef434f82016-04-07 17:15:39 -07001---
Zack Williamsd2cbe512016-06-03 09:33:15 -07002# Installs the single node cord-pod XOS configuration, using Juju to provision
3# the OpenStack installation inside of VM's on the head node.
4#
5# This is used by `scripts/single-node-pod.sh` for E2E testing.
Zack Williamsef434f82016-04-07 17:15:39 -07006
Zack Williams22332942016-05-20 12:40:58 -07007- name: Include vars
Zack Williams89412832016-06-27 21:17:01 -07008 hosts: head
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
Zack Williams89412832016-06-27 21:17:01 -070023 hosts: head
Zack Williamsa1cd04e2016-05-02 10:41:37 -070024 become: yes
25 roles:
26 - dns-configure
27
Zack Williamsef434f82016-04-07 17:15:39 -070028- name: Prep systems
Zack Williams89412832016-06-27 21:17:01 -070029 hosts: head
Zack Williamsef434f82016-04-07 17:15:39 -070030 become: yes
31 roles:
32 - common-prep
Zack Williams32d711d2016-06-02 10:53:30 -070033 - { role: cloudlab-prep, when: on_cloudlab }
Zack Williamsef434f82016-04-07 17:15:39 -070034
Zack Williamsd31bbc92016-05-20 11:43:18 -070035- name: Configure head node, create VM's
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 Williams36a22bf2016-05-20 11:54:49 -070040 - create-vms
Zack Williamsef434f82016-04-07 17:15:39 -070041
Zack Williams22332942016-05-20 12:40:58 -070042- name: Set up VM's, juju, simulate fabric
Zack Williams82a6b782016-04-12 14:00:01 -070043 hosts: head
44 roles:
45 - xos-vm-install
46 - onos-vm-install
Zack Williamsd31bbc92016-05-20 11:43:18 -070047 - juju-setup
Zack Williamsb273a422016-05-18 13:33:00 -070048 - docker-compose
Zack Williams0e583122016-04-30 16:57:03 -070049 - simulate-fabric
Andy Bavierc2335122016-06-25 09:59:22 -040050 - onos-load-apps
Zack Williams82a6b782016-04-12 14:00:01 -070051