blob: 1304c3e853bf34a6b025624996220d78f042dd6a [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
Andy Baviera6cffe12017-03-15 17:33:42 -040026- include: pki-install-playbook.yml
27
28- include: cord-profile-playbook.yml
29
30- name: Pull other docker images if not present
Andy Bavier1cac0012017-03-13 10:06:18 -040031 hosts: head
32 roles:
Andy Baviera6cffe12017-03-15 17:33:42 -040033 - pull-xos-docker-images
Zack Williamsa2763112017-01-03 11:38:38 -070034
Andy Baviera6cffe12017-03-15 17:33:42 -040035- include: launch-xos-playbook.yml