mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +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
@@ -2522,7 +2522,8 @@ def main():
|
||||
client = AnsibleDockerClientContainer(
|
||||
argument_spec=argument_spec,
|
||||
required_if=required_if,
|
||||
supports_check_mode=True
|
||||
supports_check_mode=True,
|
||||
min_docker_api_version='1.20',
|
||||
)
|
||||
|
||||
cm = ContainerManager(client)
|
||||
|
||||
Reference in New Issue
Block a user