Update copy.py (#56370)

* Update copy.py to make the behavior of the `content` option clearer.
pull/59408/head
Alex IP 5 years ago committed by Alicia Cozine
parent 65049620ee
commit a2b49854ca

@ -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…
Cancel
Save