blob: 09ae4a239cc17a2a597bd0ea2b57d86ccec72633 [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
25- name: Bring up XOS services
26 docker_service:
27 project_name: "{{ cord_profile | regex_replace('\\W','') }}"
Zack Williamsc989f262017-05-11 13:02:59 -070028 project_src: "{{ head_cord_profile_dir }}"
Andy Bavier8807e1d2017-09-08 09:14:18 -070029 pull: "{{ always_pull_xos_images | default('false') }}"