Add docker_container_exec note on env variables; remove superfluous notes (#806)

* Remove unnecessary notes.

* Add note for evaluating environment variables.
This commit is contained in:
Felix Fontein 2024-02-24 20:45:13 +01:00 committed by GitHub
parent bbc36e9923
commit a7c7adce2f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions

View File

@ -94,9 +94,10 @@ options:
version_added: 2.1.0
notes:
- Does not support C(check_mode).
- Does B(not work with TCP TLS sockets) when using O(stdin). This is caused by the inability to send C(close_notify) without closing the connection
with Python's C(SSLSocket)s. See U(https://github.com/ansible-collections/community.docker/issues/605) for more information.
- If you need to evaluate environment variables of the container in O(command) or O(argv), you need to pass the command through a shell,
like O(command=/bin/sh -c "echo $ENV_VARIABLE").
author:
- "Felix Fontein (@felixfontein)"

View File

@ -39,9 +39,6 @@ options:
type: path
required: true
notes:
- Does not support C(check_mode).
requirements:
- "Docker API >= 1.25"