blob: dd550c887926c987b7db7b219475aaaad9d53667 [file] [log] [blame]
---
# Installs the single node cord-pod XOS configuration, using Juju to provision
# the OpenStack installation inside of VM's on the head node.
#
# This is used by `scripts/single-node-pod.sh` for E2E testing.
- name: Include vars
hosts: all
tasks:
- include_vars: vars/cord_defaults.yml
- include_vars: vars/cord.yml
- include_vars: vars/example_keystone.yml # for testing
- name: DNS Server and apt-cacher-ng Setup
hosts: head
become: yes
roles:
- { role: dns-nsd, when: on_cloudlab }
- { role: dns-unbound, when: on_cloudlab }
- apt-cacher-ng
- name: Configure all hosts to use DNS server
hosts: all
become: yes
roles:
- { role: dns-configure, when: on_cloudlab }
- name: Prep systems
hosts: all
become: yes
roles:
- common-prep
- { role: cloudlab-prep, when: on_cloudlab }
- name: Configure head node, create VM's
hosts: head
roles:
- { role: head-prep, become: yes }
- { role: config-virt, become: yes }
- create-vms
- name: Set up VM's, juju, start ONOS and XOS
hosts: head
roles:
- xos-vm-install
- onos-vm-install
- juju-setup
- docker-compose
- xos-start