mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fixed backup and validate fragments
This commit is contained in:
parent
4e94bb64d8
commit
ea159ef9de
2 changed files with 9 additions and 7 deletions
|
@ -20,6 +20,7 @@ class ModuleDocFragment(object):
|
|||
|
||||
# Standard documentation fragment
|
||||
DOCUMENTATION = '''
|
||||
options:
|
||||
backup:
|
||||
description:
|
||||
- Create a backup file including the timestamp information so you can get
|
||||
|
|
|
@ -20,11 +20,12 @@ class ModuleDocFragment(object):
|
|||
|
||||
# Standard documentation fragment
|
||||
DOCUMENTATION = '''
|
||||
validate:
|
||||
required: false
|
||||
description:
|
||||
- The validation command to run before copying into place. The path to the file to
|
||||
validate is passed in via '%s' which must be present as in the apache example below.
|
||||
The command is passed securely so shell features like expansion and pipes won't work.
|
||||
default: None
|
||||
options:
|
||||
validate:
|
||||
required: false
|
||||
description:
|
||||
- The validation command to run before copying into place. The path to the file to
|
||||
validate is passed in via '%s' which must be present as in the apache example below.
|
||||
The command is passed securely so shell features like expansion and pipes won't work.
|
||||
default: None
|
||||
'''
|
||||
|
|
Loading…
Reference in a new issue