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
|
||||
- Michael DeHaan
|
||||
extends_documentation_fragment:
|
||||
- backup
|
||||
- files
|
||||
- template_common
|
||||
- validate
|
||||
|
|
|
@ -15,6 +15,12 @@ module: win_template
|
|||
version_added: "1.9.2"
|
||||
options:
|
||||
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'
|
||||
newline_sequence:
|
||||
default: '\r\n'
|
||||
|
|
|
@ -39,13 +39,6 @@ options:
|
|||
- Location to render the template to on the remote machine.
|
||||
type: path
|
||||
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:
|
||||
description:
|
||||
- Specify the newline sequence to use for templating files.
|
||||
|
|
Loading…
Reference in a new issue