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

docker module: incompatible with docker-py 1.2.x #44

Closed
hryamzik opened this issue May 8, 2015 · 1 comment
Closed

docker module: incompatible with docker-py 1.2.x #44

hryamzik opened this issue May 8, 2015 · 1 comment

Comments

@hryamzik
Copy link
Contributor

hryamzik commented May 8, 2015

See here and here for more details. Workaround is installing an older version of docker-py:

  tasks:
    - name: Install docker-py
      pip: name=docker-py version=1.1.0

And it could be set with pip_version_docker_py.

I'm not sure about a proper way to solve this. One of the solutions could be setting default pip_version_docker_py to 1.1.0 if ansible version is below some value.

@angstwad
Copy link
Owner

angstwad commented May 8, 2015

This was addressed in issue #40 and PR #41.

Use a parameterized role, and set pip_version_docker_py to 1.1. It was decided that since this is a transient issue in upstream packages that is due to be resolved, the default behavior should be to use the latest package, and the workaround to manually set a lower package version in the interim.

@angstwad angstwad closed this as completed May 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants