template - move backup to its own doc (#59893)

* template - move backup to its own doc

* Use the backup doc fragment for template
pull/60550/head
Jordan Borean 5 years ago committed by GitHub
parent a8d01cf2a2
commit 737a500a30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save