mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-15 11:32:05 +00:00
Also mention glob patterns and redirects. (#1032)
This commit is contained in:
parent
ce074ba8f0
commit
8bae4e9c6d
@ -114,7 +114,8 @@ seealso:
|
||||
|
||||
notes:
|
||||
- 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").
|
||||
through a shell, like O(command=/bin/sh -c "echo $ENV_VARIABLE"). The same needs to be done in case you want to use glob patterns
|
||||
or other shell features such as redirects.
|
||||
"""
|
||||
|
||||
EXAMPLES = r"""
|
||||
|
||||
@ -182,7 +182,8 @@ seealso:
|
||||
|
||||
notes:
|
||||
- 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").
|
||||
through a shell, like O(command=/bin/sh -c "echo $ENV_VARIABLE"). The same needs to be done in case you want to use glob patterns
|
||||
or other shell features such as redirects.
|
||||
"""
|
||||
|
||||
EXAMPLES = r"""
|
||||
|
||||
@ -101,7 +101,8 @@ notes:
|
||||
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").
|
||||
through a shell, like O(command=/bin/sh -c "echo $ENV_VARIABLE"). The same needs to be done in case you want to use glob patterns
|
||||
or other shell features such as redirects.
|
||||
author:
|
||||
- "Felix Fontein (@felixfontein)"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user