blob: 2514dfca471201653f6c31eef9becc55e2e6041f [file] [log] [blame]
Zack Williams41513bf2018-07-07 20:08:35 -07001# Copyright 2017-present Open Networking Foundation
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
Sergio Slobodriancd43feb2017-07-25 16:26:38 -040014- name: Docker compose executable is downloaded
Sergio Slobodrianee4b2bc2017-06-05 10:08:59 -040015 get_url:
16 url: https://github.com/docker/compose/releases/download/1.9.0/docker-compose-Linux-x86_64
17 dest: /home/vinstall
18 mode: 0644
19 when: target == "installer"
Sergio Slobodriancd43feb2017-07-25 16:26:38 -040020- name: Docker Compose executable is installed
Sergio Slobodrianee4b2bc2017-06-05 10:08:59 -040021 copy:
22 src: /home/vinstall/docker-compose-Linux-x86_64
23 dest: /usr/local/bin/docker-compose
24 mode: 0755
25 when: target == "cluster"