mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 03:46:55 +00:00
Docker SDK for Python 7+: make sure that ssl_version is not passed, and error out if it was explicitly set (#715)
* Do not accept ssl_version for Docker SDK for Python 7.0.0+. * Add changelog fragment. * Generally avoid sending None values to TLSConfig. Potentially prevents similar errors in the future, assuming the users do not pass values in. * Python 2.6 compatibility.
This commit is contained in:
@@ -72,6 +72,8 @@ options:
|
||||
- Provide a valid SSL version number. Default value determined by L(SSL Python module, https://docs.python.org/3/library/ssl.html).
|
||||
- If the value is not specified in the task, the value of environment variable E(DOCKER_SSL_VERSION) will be
|
||||
used instead.
|
||||
- B(Note:) this option is no longer supported for Docker SDK for Python 7.0.0+. Specifying it with Docker SDK for
|
||||
Python 7.0.0 or newer will lead to an error.
|
||||
type: str
|
||||
tls:
|
||||
description:
|
||||
|
||||
Reference in New Issue
Block a user