template - move backup to its own doc (#59893)
* template - move backup to its own doc * Use the backup doc fragment for template
This commit is contained in:
parent
a8d01cf2a2
commit
737a500a30
3 changed files with 7 additions and 7 deletions
|
@ -39,6 +39,7 @@ author:
|
||||||
- Ansible Core Team
|
- Ansible Core Team
|
||||||
- Michael DeHaan
|
- Michael DeHaan
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
|
- backup
|
||||||
- files
|
- files
|
||||||
- template_common
|
- template_common
|
||||||
- validate
|
- validate
|
||||||
|
|
|
@ -15,6 +15,12 @@ module: win_template
|
||||||
version_added: "1.9.2"
|
version_added: "1.9.2"
|
||||||
options:
|
options:
|
||||||
backup:
|
backup:
|
||||||
|
description:
|
||||||
|
- Determine whether a backup should be created.
|
||||||
|
- When set to C(yes), create a backup file including the timestamp information
|
||||||
|
so you can get the original file back if you somehow clobbered it incorrectly.
|
||||||
|
type: bool
|
||||||
|
default: no
|
||||||
version_added: '2.8'
|
version_added: '2.8'
|
||||||
newline_sequence:
|
newline_sequence:
|
||||||
default: '\r\n'
|
default: '\r\n'
|
||||||
|
|
|
@ -39,13 +39,6 @@ options:
|
||||||
- Location to render the template to on the remote machine.
|
- Location to render the template to on the remote machine.
|
||||||
type: path
|
type: path
|
||||||
required: yes
|
required: yes
|
||||||
backup:
|
|
||||||
description:
|
|
||||||
- Determine whether a backup should be created.
|
|
||||||
- When set to C(yes), create a backup file including the timestamp information
|
|
||||||
so you can get the original file back if you somehow clobbered it incorrectly.
|
|
||||||
type: bool
|
|
||||||
default: no
|
|
||||||
newline_sequence:
|
newline_sequence:
|
||||||
description:
|
description:
|
||||||
- Specify the newline sequence to use for templating files.
|
- Specify the newline sequence to use for templating files.
|
||||||
|
|
Loading…
Reference in a new issue