Matteo Scandolo | 3896c47 | 2017-08-01 13:31:42 -0700 | [diff] [blame] | 1 | |
| 2 | # Copyright 2017-present Open Networking Foundation |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | |
Andy Bavier | 60be421 | 2017-04-20 13:43:22 -0400 | [diff] [blame] | 17 | --- |
| 18 | # redeploy-xos-playbook.yml |
| 19 | |
| 20 | # This playbook is used for development. It walks through CORD's |
| 21 | # fetch -> build -> deploy container pipeline to rebuild and redeploy |
Andy Bavier | a94f5d3 | 2017-05-04 15:43:01 -0700 | [diff] [blame] | 22 | # containers. It assumes that the environment has already been set up. |
Andy Bavier | 60be421 | 2017-04-20 13:43:22 -0400 | [diff] [blame] | 23 | |
| 24 | - name: Include vars |
| 25 | hosts: all |
| 26 | tasks: |
| 27 | - name: Include variables |
| 28 | include_vars: "{{ item }}" |
| 29 | with_items: |
| 30 | - "profile_manifests/{{ cord_profile }}.yml" |
| 31 | - profile_manifests/local_vars.yml |
| 32 | |
Andy Bavier | a94f5d3 | 2017-05-04 15:43:01 -0700 | [diff] [blame] | 33 | # rebuild XOS images |
Andy Bavier | 60be421 | 2017-04-20 13:43:22 -0400 | [diff] [blame] | 34 | - include: ../../orchestration/xos/build-xos-playbook.yml |
| 35 | |
| 36 | # build XOS core |
| 37 | - include: build-platform-install-playbook.yml |
| 38 | |
| 39 | - name: Bring up XOS containers |
| 40 | hosts: head |
| 41 | roles: |
| 42 | - xos-up |