|
|
|
@ -53,32 +53,32 @@ options:
|
|
|
|
|
- Specify the newline sequence to use for templating files.
|
|
|
|
|
choices: [ '\n', '\r', '\r\n' ]
|
|
|
|
|
default: '\r\n'
|
|
|
|
|
version_added: '2.3'
|
|
|
|
|
version_added: '2.4'
|
|
|
|
|
block_start_string:
|
|
|
|
|
description:
|
|
|
|
|
- The string marking the beginning of a block.
|
|
|
|
|
default: '{%'
|
|
|
|
|
version_added: '2.3'
|
|
|
|
|
version_added: '2.4'
|
|
|
|
|
block_end_string:
|
|
|
|
|
description:
|
|
|
|
|
- The string marking the end of a block.
|
|
|
|
|
default: '%}'
|
|
|
|
|
version_added: '2.3'
|
|
|
|
|
version_added: '2.4'
|
|
|
|
|
variable_start_string:
|
|
|
|
|
description:
|
|
|
|
|
- The string marking the beginning of a print statement.
|
|
|
|
|
default: '{{'
|
|
|
|
|
version_added: '2.3'
|
|
|
|
|
version_added: '2.4'
|
|
|
|
|
variable_end_string:
|
|
|
|
|
description:
|
|
|
|
|
- The string marking the end of a print statement.
|
|
|
|
|
default: '}}'
|
|
|
|
|
version_added: '2.3'
|
|
|
|
|
version_added: '2.4'
|
|
|
|
|
trim_blocks:
|
|
|
|
|
description:
|
|
|
|
|
- If this is set to True the first newline after a block is removed (block, not variable tag!).
|
|
|
|
|
default: "no"
|
|
|
|
|
version_added: '2.3'
|
|
|
|
|
version_added: '2.4'
|
|
|
|
|
force:
|
|
|
|
|
description:
|
|
|
|
|
- the default is C(yes), which will replace the remote file when contents
|
|
|
|
@ -86,7 +86,7 @@ options:
|
|
|
|
|
if the destination does not exist.
|
|
|
|
|
choices: [ "yes", "no" ]
|
|
|
|
|
default: "yes"
|
|
|
|
|
version_added: '2.3'
|
|
|
|
|
version_added: '2.4'
|
|
|
|
|
notes:
|
|
|
|
|
- For other platforms you can use M(template) which uses '\n' as C(newline_sequence).
|
|
|
|
|
- Templates are loaded with C(trim_blocks=True).
|
|
|
|
|