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
2 changed files with 2 additions and 4 deletions
+2 -1
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)"