Update copy.py (#56370)
* Update copy.py to make the behavior of the `content` option clearer.
This commit is contained in:
parent
65049620ee
commit
a2b49854ca
1 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,8 @@ options:
|
|||
content:
|
||||
description:
|
||||
- When used instead of C(src), sets the contents of a file directly to the specified value.
|
||||
- For advanced formatting or if C(content) contains a variable, use the C(template) module.
|
||||
- Works only when C(dest) is a file. Creates the file if it does not exist.
|
||||
- For advanced formatting or if C(content) contains a variable, use the M(template) module.
|
||||
type: str
|
||||
version_added: '1.1'
|
||||
dest:
|
||||
|
|
Loading…
Add table
Reference in a new issue