Break into smaller tasks for easier restart of bad install
Change-Id: Ia255d7b8ca4b0e0b26873853d3c108c4bb70b47a
diff --git a/cord-deploy-xos.yml b/cord-deploy-xos.yml
new file mode 100644
index 0000000..29221fb
--- /dev/null
+++ b/cord-deploy-xos.yml
@@ -0,0 +1,24 @@
+---
+# Deploys XOS in Docker 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: XOS setup
+ hosts: head
+ roles:
+ - { role: xos-build, when: xos_container_rebuild }
+ - xos-install
+
+- name: Start XOS
+ hosts: head
+ roles:
+ - xos-config
+ - xos-head-start