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 | |
Andy Bavier | 9e7d54a | 2017-04-17 11:37:02 -0400 | [diff] [blame] | 17 | --- |
| 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 Scandolo | d82447c | 2018-01-25 16:21:40 -0800 | [diff] [blame] | 25 | - name: List xos services |
| 26 | include_role: |
| 27 | name: xos-services-list |
| 28 | |
Andy Bavier | 9e7d54a | 2017-04-17 11:37:02 -0400 | [diff] [blame] | 29 | - name: Bring up XOS services |
| 30 | docker_service: |
Matteo Scandolo | d82447c | 2018-01-25 16:21:40 -0800 | [diff] [blame] | 31 | files: "{{ onboarding_recipes }}" |
Andy Bavier | 9e7d54a | 2017-04-17 11:37:02 -0400 | [diff] [blame] | 32 | project_name: "{{ cord_profile | regex_replace('\\W','') }}" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 33 | project_src: "{{ head_cord_profile_dir }}" |
Andy Bavier | 8807e1d | 2017-09-08 09:14:18 -0700 | [diff] [blame] | 34 | pull: "{{ always_pull_xos_images | default('false') }}" |