blob: 5e569eeb23c336d976cb724c7d2b37a29a7bc555 [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 Bavier9e7d54a2017-04-17 11:37:02 -040017---
18# xos-up/tasks/main.yml
19
20- name: Create docker networks
21 docker_network:
22 name: "{{ item }}"
23 with_items: "{{ xos_docker_networks }}"
24
Matteo Scandolod82447c2018-01-25 16:21:40 -080025- name: List xos services
26 include_role:
27 name: xos-services-list
28
Andy Bavier9e7d54a2017-04-17 11:37:02 -040029- name: Bring up XOS services
30 docker_service:
Matteo Scandolod82447c2018-01-25 16:21:40 -080031 files: "{{ onboarding_recipes }}"
Andy Bavier9e7d54a2017-04-17 11:37:02 -040032 project_name: "{{ cord_profile | regex_replace('\\W','') }}"
Zack Williamsc989f262017-05-11 13:02:59 -070033 project_src: "{{ head_cord_profile_dir }}"
Andy Bavier8807e1d2017-09-08 09:14:18 -070034 pull: "{{ always_pull_xos_images | default('false') }}"