mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-04 05:04:22 -07:00
Some stray doc tweaks with file modules.
This commit is contained in:
parent
1c6398dd3b
commit
cc1d1ad042
2 changed files with 6 additions and 5 deletions
|
@ -83,6 +83,12 @@ options:
|
||||||
defaults.
|
defaults.
|
||||||
required: false
|
required: false
|
||||||
version_added: "1.5"
|
version_added: "1.5"
|
||||||
|
recurse:
|
||||||
|
description:
|
||||||
|
- Copy all contents in the source directory recursively. This will be slightly inefficient compared to the 'synchronize'
|
||||||
|
module and should not be used for large directory trees.
|
||||||
|
required: false
|
||||||
|
default: false
|
||||||
extends_documentation_fragment: files
|
extends_documentation_fragment: files
|
||||||
author: Michael DeHaan
|
author: Michael DeHaan
|
||||||
notes:
|
notes:
|
||||||
|
|
|
@ -49,11 +49,6 @@ options:
|
||||||
version_added: "1.2"
|
version_added: "1.2"
|
||||||
notes:
|
notes:
|
||||||
- "Since Ansible version 0.9, templates are loaded with C(trim_blocks=True)."
|
- "Since Ansible version 0.9, templates are loaded with C(trim_blocks=True)."
|
||||||
|
|
||||||
- "Also, you can override jinja2 settings by adding a special header to template file.
|
|
||||||
i.e. C(#jinja2:variable_start_string:'[%' , variable_end_string:'%]')
|
|
||||||
which changes the variable interpolation markers to [% var %] instead of {{ var }}. This is the best way to prevent evaluation of things that look like, but should not be Jinja2. raw/endraw in Jinja2 will not work as you expect because templates in Ansible are recursively evaluated."
|
|
||||||
|
|
||||||
requirements: []
|
requirements: []
|
||||||
author: Michael DeHaan
|
author: Michael DeHaan
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue