blob: f9cb4cf9fb58997aa1e5e261e5425971e7628b69 [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 Baviera6cffe12017-03-15 17:33:42 -040023- include: pki-install-playbook.yml
24
25- include: cord-profile-playbook.yml
26
27- name: Pull other docker images if not present
Andy Bavier1cac0012017-03-13 10:06:18 -040028 hosts: head
29 roles:
Andy Baviera6cffe12017-03-15 17:33:42 -040030 - pull-xos-docker-images
Zack Williamsa2763112017-01-03 11:38:38 -070031
Andy Baviera6cffe12017-03-15 17:33:42 -040032- include: launch-xos-playbook.yml