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:
Jordan Borean 2019-08-14 09:48:37 +10:00 committed by GitHub
parent a8d01cf2a2
commit 737a500a30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View file

@ -39,6 +39,7 @@ author:
- Ansible Core Team
- Michael DeHaan
extends_documentation_fragment:
- backup
- files
- template_common
- validate

View file

@ -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'

View file

@ -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.