add options for compose version in readme
This commit is contained in:
parent
42ce6d5f64
commit
7eb3f3d8ad
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
- name: Include variables
|
||||||
|
include_vars:
|
||||||
|
file: "../../../variables.yml"
|
||||||
|
|
||||||
- name: Install docker prerequsistes
|
- name: Install docker prerequsistes
|
||||||
apt:
|
apt:
|
||||||
pkg:
|
pkg:
|
||||||
|
@ -24,7 +28,7 @@
|
||||||
#install compose:
|
#install compose:
|
||||||
|
|
||||||
- name: download compose
|
- name: download compose
|
||||||
shell: curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
|
shell: curl -L https://github.com/docker/compose/releases/download/{{ compose_ver }}/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
|
||||||
|
|
||||||
- name: link compose
|
- name: link compose
|
||||||
shell: chmod +x /usr/local/bin/docker-compose
|
shell: chmod +x /usr/local/bin/docker-compose
|
||||||
|
|
|
@ -2,3 +2,4 @@ users:
|
||||||
- commonuser
|
- commonuser
|
||||||
tinc_vpn: vpn
|
tinc_vpn: vpn
|
||||||
hostname: common_hostname
|
hostname: common_hostname
|
||||||
|
compose_ver: 1.25.4
|
||||||
|
|
Loading…
Reference in a new issue