Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to upgrade/downgrade docker-compose (binary version) #138

Closed
haxorof opened this issue Jun 25, 2021 · 0 comments
Closed

Add support to upgrade/downgrade docker-compose (binary version) #138

haxorof opened this issue Jun 25, 2021 · 0 comments
Labels

Comments

@haxorof
Copy link
Owner

haxorof commented Jun 25, 2021

Today the role install the binary version of docker-compose if docker_compose_no_pip is set to true. Once installed it will not try to install it again because it skip those tasks if it finds the docker-compose file in the system.

Version Information

Role: 3.3.2

Actual Behavior

  1. Run role with following variables:
docker_compose: true
docker_compose_no_pip: true
docker_compose_no_pip_detect_version: false
docker_compose_no_pip_version: 1.29.1
  1. Check docker compose version by running docker-compose --version and you will see 1.29.1 is installed.
  2. Run role again but change docker_compose_no_pip_version to 1.29.2
  3. Check docker compose version by running docker-compose --version and you will see still see 1.29.1 is installed.

New/Changed Behavior

  1. Run role with following variables:
docker_compose: true
docker_compose_no_pip: true
docker_compose_no_pip_detect_version: false
docker_compose_no_pip_version: 1.29.1
  1. Check docker compose version by running docker-compose --version and you will see 1.29.1 is installed.
  2. Run role again but change docker_compose_no_pip_version to 1.29.2
  3. Check docker compose version by running docker-compose --version and you will see see 1.29.2 is installed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant