roles/docker_compose_install/ -> roles/docker_compose

This commit is contained in:
Nick Stokoe
2021-01-03 15:54:00 +00:00
parent e23ba65b8f
commit 9a79fe8078
4 changed files with 37 additions and 18 deletions

View File

@@ -0,0 +1,23 @@
---
## Installs docker-CE
# Following guide from here:
# https://docs.docker.com/install/linux/docker-ce/ubuntu/#set-up-the-repository
# The docker apt repo key uri
docker_compose_apt_key_uri: https://download.docker.com/linux/ubuntu/gpg
# The docker apt repo config line
docker_compose_apt_repo: deb https://download.docker.com/linux/ubuntu {{ansible_lsb.codename}} stable
# Get this version from https://github.com/docker/compose/releases/
# Check compatibility with docker.
# This needs to be supplied externally.
docker_compose_install_version: Change me!
# Define where the docker project source directory is
# This needs to be supplied externally
docker_compose_base_dir: /opt/docker-compose
# Where the docker-compose binary is put (assumed executable)
docker_compose_exe: /usr/local/bin/docker-compose