Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 1 | --- |
| 2 | # deploy-xos-playbook.yml |
| 3 | |
Andy Bavier | a6cffe1 | 2017-03-15 17:33:42 -0400 | [diff] [blame] | 4 | # This playbook is used for development. It walks through CORD's |
| 5 | # fetch -> build -> deploy container pipeline for XOS. |
| 6 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 7 | - 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 Bavier | a6cffe1 | 2017-03-15 17:33:42 -0400 | [diff] [blame] | 19 | # pull / build base XOS images |
| 20 | - include: ../../orchestration/xos/pull-xos-playbook.yml |
| 21 | - include: ../../orchestration/xos/build-xos-playbook.yml |
Andy Bavier | 1cac001 | 2017-03-13 10:06:18 -0400 | [diff] [blame] | 22 | |
Andy Bavier | 9e7d54a | 2017-04-17 11:37:02 -0400 | [diff] [blame] | 23 | # build XOS core |
| 24 | - include: build-platform-install-playbook.yml |
| 25 | |
Andy Bavier | a6cffe1 | 2017-03-15 17:33:42 -0400 | [diff] [blame] | 26 | - include: pki-install-playbook.yml |
| 27 | |
| 28 | - include: cord-profile-playbook.yml |
| 29 | |
| 30 | - name: Pull other docker images if not present |
Andy Bavier | 1cac001 | 2017-03-13 10:06:18 -0400 | [diff] [blame] | 31 | hosts: head |
| 32 | roles: |
Andy Bavier | a6cffe1 | 2017-03-15 17:33:42 -0400 | [diff] [blame] | 33 | - pull-xos-docker-images |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 34 | |
Andy Bavier | a6cffe1 | 2017-03-15 17:33:42 -0400 | [diff] [blame] | 35 | - include: launch-xos-playbook.yml |