blob: 48491d0c971c3def44e3acb6ad0e254e2884aadb [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
Andy Bavierc23722d2017-09-05 17:01:17 -070025- name: Start all XOS services using latest images in registry
Andy Bavier9e7d54a2017-04-17 11:37:02 -040026 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 Bavierc23722d2017-09-05 17:01:17 -070029 pull: true