CORD-1078 Fast re-deploy of XOS containers in dev VM
Change-Id: Ib4cf56dd80b2af907b8a273bf91dc79da4ea2f63
diff --git a/redeploy-xos-playbook.yml b/redeploy-xos-playbook.yml
new file mode 100644
index 0000000..1e0a026
--- /dev/null
+++ b/redeploy-xos-playbook.yml
@@ -0,0 +1,27 @@
+---
+# redeploy-xos-playbook.yml
+
+# This playbook is used for development. It walks through CORD's
+# fetch -> build -> deploy container pipeline to rebuild and redeploy
+# containers annotated with "rebuild: true".
+
+- name: Include vars
+ hosts: all
+ tasks:
+ - name: Include variables
+ include_vars: "{{ item }}"
+ with_items:
+ - "profile_manifests/{{ cord_profile }}.yml"
+ - profile_manifests/local_vars.yml
+
+# pull / build base XOS images
+- include: ../../orchestration/xos/pull-xos-playbook.yml
+- include: ../../orchestration/xos/build-xos-playbook.yml
+
+# build XOS core
+- include: build-platform-install-playbook.yml
+
+- name: Bring up XOS containers
+ hosts: head
+ roles:
+ - xos-up