Andy Bavier | 60be421 | 2017-04-20 13:43:22 -0400 | [diff] [blame] | 1 | --- |
| 2 | # redeploy-xos-playbook.yml |
| 3 | |
| 4 | # This playbook is used for development. It walks through CORD's |
| 5 | # fetch -> build -> deploy container pipeline to rebuild and redeploy |
| 6 | # containers annotated with "rebuild: true". |
| 7 | |
| 8 | - name: Include vars |
| 9 | hosts: all |
| 10 | tasks: |
| 11 | - name: Include variables |
| 12 | include_vars: "{{ item }}" |
| 13 | with_items: |
| 14 | - "profile_manifests/{{ cord_profile }}.yml" |
| 15 | - profile_manifests/local_vars.yml |
| 16 | |
| 17 | # pull / build base XOS images |
| 18 | - include: ../../orchestration/xos/pull-xos-playbook.yml |
| 19 | - include: ../../orchestration/xos/build-xos-playbook.yml |
| 20 | |
| 21 | # build XOS core |
| 22 | - include: build-platform-install-playbook.yml |
| 23 | |
| 24 | - name: Bring up XOS containers |
| 25 | hosts: head |
| 26 | roles: |
| 27 | - xos-up |