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 |
Andy Bavier | a94f5d3 | 2017-05-04 15:43:01 -0700 | [diff] [blame] | 6 | # containers. It assumes that the environment has already been set up. |
Andy Bavier | 60be421 | 2017-04-20 13:43:22 -0400 | [diff] [blame] | 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 | |
Andy Bavier | a94f5d3 | 2017-05-04 15:43:01 -0700 | [diff] [blame] | 17 | # rebuild XOS images |
Andy Bavier | 60be421 | 2017-04-20 13:43:22 -0400 | [diff] [blame] | 18 | - include: ../../orchestration/xos/build-xos-playbook.yml |
| 19 | |
| 20 | # build XOS core |
| 21 | - include: build-platform-install-playbook.yml |
| 22 | |
| 23 | - name: Bring up XOS containers |
| 24 | hosts: head |
| 25 | roles: |
| 26 | - xos-up |