blob: 178ea11fe826a518b41682579df4faf607b680bc [file] [log] [blame]
---
# Install an OpenCloud site, with multi-node Juju configured OpenStack
- name: Include vars
hosts: all
tasks:
- name: Include variables
include_vars: "{{ item }}"
with_items:
- vars/opencloud_defaults.yml
- vars/aztest.yml
- vars/aztest_keystone.yml
- name: Turn on virtualization
hosts: all
become: yes
- dell-virt
- name: Check prerequisites
hosts: all
roles:
- prereqs-common
- name: DNS Server and apt-cacher-ng Setup
hosts: head
become: yes
roles:
- dns-nsd
- dns-unbound
- apt-cacher-ng
- name: Use the new DNS server, prep systems
hosts: all
become: yes
roles:
- dns-configure
- common-prep
- name: Configure head node, configure virtualization
hosts: head
roles:
- { role: head-prep, become: yes }
- { role: config-virt, become: yes }
- name: Create VM's, Configure Juju, install XOS
hosts: head
roles:
- create-vms
- juju-setup
- name: Configure compute nodes
hosts: compute
become: yes
roles:
- compute-prep
- name: Deploy compute nodes
hosts: head
roles:
- juju-compute-setup