blob: 24e29bc5950291264ef6b6d2644555ce23368d60 [file] [log] [blame]
Zack Williamsa2763112017-01-03 11:38:38 -07001---
2# deploy-xos-playbook.yml
3
Andy Baviera6cffe12017-03-15 17:33:42 -04004# This playbook is used for development. It walks through CORD's
5# fetch -> build -> deploy container pipeline for XOS.
6
Zack Williamsa2763112017-01-03 11:38:38 -07007- name: Include vars
8 hosts: all
9 tasks:
10 - name: Include variables
11 include_vars: "{{ item }}"
12 with_items:
13 - "profile_manifests/{{ cord_profile }}.yml"
14 - profile_manifests/local_vars.yml
15
16# for docker, docker-compose
17- include: devel-tools-playbook.yml
18
Andy Baviera6cffe12017-03-15 17:33:42 -040019# pull / build base XOS images
20- include: ../../orchestration/xos/pull-xos-playbook.yml
21- include: ../../orchestration/xos/build-xos-playbook.yml
Andy Bavier1cac0012017-03-13 10:06:18 -040022
Andy Bavier9e7d54a2017-04-17 11:37:02 -040023# build XOS core
24- include: build-platform-install-playbook.yml
25
Zack Williamsc989f262017-05-11 13:02:59 -070026- include: cord-config-playbook.yml
Andy Baviera6cffe12017-03-15 17:33:42 -040027
28- name: Pull other docker images if not present
Andy Bavier1cac0012017-03-13 10:06:18 -040029 hosts: head
30 roles:
Andy Baviera6cffe12017-03-15 17:33:42 -040031 - pull-xos-docker-images
Zack Williamsa2763112017-01-03 11:38:38 -070032
Andy Baviera6cffe12017-03-15 17:33:42 -040033- include: launch-xos-playbook.yml