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 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 17 | --- |
| 18 | # deploy-xos-playbook.yml |
| 19 | |
Andy Bavier | a6cffe1 | 2017-03-15 17:33:42 -0400 | [diff] [blame] | 20 | # This playbook is used for development. It walks through CORD's |
| 21 | # fetch -> build -> deploy container pipeline for XOS. |
| 22 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 23 | - name: Include vars |
| 24 | hosts: all |
| 25 | tasks: |
| 26 | - name: Include variables |
| 27 | include_vars: "{{ item }}" |
| 28 | with_items: |
| 29 | - "profile_manifests/{{ cord_profile }}.yml" |
| 30 | - profile_manifests/local_vars.yml |
| 31 | |
| 32 | # for docker, docker-compose |
| 33 | - include: devel-tools-playbook.yml |
| 34 | |
Andy Bavier | a6cffe1 | 2017-03-15 17:33:42 -0400 | [diff] [blame] | 35 | # pull / build base XOS images |
| 36 | - include: ../../orchestration/xos/pull-xos-playbook.yml |
| 37 | - include: ../../orchestration/xos/build-xos-playbook.yml |
Andy Bavier | 1cac001 | 2017-03-13 10:06:18 -0400 | [diff] [blame] | 38 | |
Andy Bavier | 9e7d54a | 2017-04-17 11:37:02 -0400 | [diff] [blame] | 39 | # build XOS core |
| 40 | - include: build-platform-install-playbook.yml |
| 41 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 42 | - include: cord-config-playbook.yml |
Andy Bavier | a6cffe1 | 2017-03-15 17:33:42 -0400 | [diff] [blame] | 43 | |
| 44 | - name: Pull other docker images if not present |
Andy Bavier | 1cac001 | 2017-03-13 10:06:18 -0400 | [diff] [blame] | 45 | hosts: head |
| 46 | roles: |
Andy Bavier | a6cffe1 | 2017-03-15 17:33:42 -0400 | [diff] [blame] | 47 | - pull-xos-docker-images |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 48 | |
Andy Bavier | a6cffe1 | 2017-03-15 17:33:42 -0400 | [diff] [blame] | 49 | - include: launch-xos-playbook.yml |