Break into smaller tasks for easier restart of bad install
Change-Id: Ia255d7b8ca4b0e0b26873853d3c108c4bb70b47a
diff --git a/cord-deploy-openstack.yml b/cord-deploy-openstack.yml
new file mode 100644
index 0000000..3a0e596
--- /dev/null
+++ b/cord-deploy-openstack.yml
@@ -0,0 +1,31 @@
+---
+# Deploys OpenStack in LXD containers on the CORD head node
+
+- name: Include vars
+ hosts: all
+ tasks:
+ - name: Include variables
+ include_vars: "{{ item }}"
+ with_items:
+ - vars/cord_defaults.yml
+ - vars/cord.yml
+ - vars/example_keystone.yml
+
+- name: Configure head node, create containers
+ hosts: head
+ roles:
+ - { role: head-prep, become: yes }
+ - create-lxd
+
+- name: Start OpenStack install
+ hosts: head
+ roles:
+ - juju-setup
+
+# Put plays here that will execute in parallel to
+# the OpenStack installation
+
+- name: Finish OpenStack install
+ hosts: head
+ roles:
+ - juju-finish