mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
docker_* modules: unify docker module version checks (#47046)
* Unify docker module version checks. * Improve messages depending on required docker-py versions. * Linting.
This commit is contained in:
committed by
John R Barker
parent
4991ef30c2
commit
32e8251f86
@@ -254,7 +254,9 @@ def main():
|
||||
|
||||
client = AnsibleDockerClient(
|
||||
argument_spec=argument_spec,
|
||||
supports_check_mode=True
|
||||
supports_check_mode=True,
|
||||
min_docker_version='1.10.0',
|
||||
# "The docker server >= 1.9.0"
|
||||
)
|
||||
|
||||
cm = DockerVolumeManager(client)
|
||||
|
||||
Reference in New Issue
Block a user