Skip to content

Commit 4812aea

Browse files
authored
Improve docs about container env_file on remote machine (#621)
Fix #583 Signed-off-by: Sagi Shnaidman <[email protected]>
1 parent faee18e commit 4812aea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

plugins/modules/podman_container.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,10 @@
266266
- Read in a line delimited file of environment variables. Doesn't support
267267
idempotency. If users changes the file with environment variables it's
268268
on them to recreate the container.
269+
The file must be present on the REMOTE machine where actual podman is
270+
running, not on the controller machine where Ansible is executing.
271+
If you need to copy the file from controller to remote machine, use the
272+
copy or slurp module.
269273
type: path
270274
env_host:
271275
description:

0 commit comments

Comments
 (0)