template.py (ansible-2.14.0) | : | template.py (ansible-2.14.1rc1) | ||
---|---|---|---|---|
skipping to change at line 20 | skipping to change at line 20 | |||
DOCUMENTATION = r''' | DOCUMENTATION = r''' | |||
--- | --- | |||
module: template | module: template | |||
version_added: historical | version_added: historical | |||
short_description: Template a file out to a target host | short_description: Template a file out to a target host | |||
options: | options: | |||
follow: | follow: | |||
description: | description: | |||
- Determine whether symbolic links should be followed. | - Determine whether symbolic links should be followed. | |||
- When set to C(yes) symbolic links will be followed, if they exist. | - When set to C(true) symbolic links will be followed, if they exist. | |||
- When set to C(no) symbolic links will not be followed. | - When set to C(false) symbolic links will not be followed. | |||
- Previous to Ansible 2.4, this was hardcoded as C(yes). | - Previous to Ansible 2.4, this was hardcoded as C(true). | |||
type: bool | type: bool | |||
default: no | default: no | |||
version_added: '2.4' | version_added: '2.4' | |||
notes: | notes: | |||
- For Windows you can use M(ansible.windows.win_template) which uses C(\r\n) as C(newline_sequence) by default. | - For Windows you can use M(ansible.windows.win_template) which uses C(\r\n) as C(newline_sequence) by default. | |||
- The C(jinja2_native) setting has no effect. Native types are never used in the C(template) module which is by design used for generating text files. | - The C(jinja2_native) setting has no effect. Native types are never used in the C(template) module which is by design used for generating text files. | |||
For working with templates and utilizing Jinja2 native types see the C(jinja2_ native) parameter of the C(template lookup). | For working with templates and utilizing Jinja2 native types see the C(jinja2_ native) parameter of the C(template lookup). | |||
seealso: | seealso: | |||
- module: ansible.builtin.copy | - module: ansible.builtin.copy | |||
- module: ansible.windows.win_copy | - module: ansible.windows.win_copy | |||
End of changes. 1 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added |