blob: 5cf3b8a965e20d718698c6eb7abe1dd0279a885b [file] [log] [blame]
---
# deploy-openstack-playbook.yml
# Deploys OpenStack in LXD containers on the CORD head node
- name: Include vars
hosts: all
tasks:
- name: Include variables
include_vars: "{{ item }}"
with_items:
- "profile_manifests/{{ cord_profile }}.yml"
- profile_manifests/local_vars.yml
- name: Create LXD containers
hosts: head
become: yes
roles:
- create-lxd
- name: Finish container configuration
hosts: head
roles:
- lxd-finish
- name: Juju OpenStack install
hosts: head
roles:
- juju-setup
- juju-finish
- name: Configure Nova with DPDK-enabled flavors
hosts: head
roles:
- { role: setup-nova-dpdk, when: enable_dpdk | default(False) }