Zack Williams | 41513bf | 2018-07-07 20:08:35 -0700 | [diff] [blame] | 1 | # 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 Slobodrian | cd43feb | 2017-07-25 16:26:38 -0400 | [diff] [blame] | 14 | - name: Docker compose executable is downloaded |
Sergio Slobodrian | ee4b2bc | 2017-06-05 10:08:59 -0400 | [diff] [blame] | 15 | 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 Slobodrian | cd43feb | 2017-07-25 16:26:38 -0400 | [diff] [blame] | 20 | - name: Docker Compose executable is installed |
Sergio Slobodrian | ee4b2bc | 2017-06-05 10:08:59 -0400 | [diff] [blame] | 21 | copy: |
| 22 | src: /home/vinstall/docker-compose-Linux-x86_64 |
| 23 | dest: /usr/local/bin/docker-compose |
| 24 | mode: 0755 |
| 25 | when: target == "cluster" |