blob: 73a77b9b780faaf4145699c5e8e008a0ae8e4b7b [file] [log] [blame]
Matteo Scandolo3896c472017-08-01 13:31:42 -07001
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 Bavier60be4212017-04-20 13:43:22 -040017---
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 Baviera94f5d32017-05-04 15:43:01 -070022# containers. It assumes that the environment has already been set up.
Andy Bavier60be4212017-04-20 13:43:22 -040023
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 Baviera94f5d32017-05-04 15:43:01 -070033# rebuild XOS images
Andy Bavier60be4212017-04-20 13:43:22 -040034- 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