mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
fixed backup and validate fragments
This commit is contained in:
@@ -20,6 +20,7 @@ class ModuleDocFragment(object):
|
|||||||
|
|
||||||
# Standard documentation fragment
|
# Standard documentation fragment
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = '''
|
||||||
|
options:
|
||||||
backup:
|
backup:
|
||||||
description:
|
description:
|
||||||
- Create a backup file including the timestamp information so you can get
|
- Create a backup file including the timestamp information so you can get
|
||||||
|
|||||||
@@ -20,11 +20,12 @@ class ModuleDocFragment(object):
|
|||||||
|
|
||||||
# Standard documentation fragment
|
# Standard documentation fragment
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = '''
|
||||||
validate:
|
options:
|
||||||
required: false
|
validate:
|
||||||
description:
|
required: false
|
||||||
- The validation command to run before copying into place. The path to the file to
|
description:
|
||||||
validate is passed in via '%s' which must be present as in the apache example below.
|
- The validation command to run before copying into place. The path to the file to
|
||||||
The command is passed securely so shell features like expansion and pipes won't work.
|
validate is passed in via '%s' which must be present as in the apache example below.
|
||||||
default: None
|
The command is passed securely so shell features like expansion and pipes won't work.
|
||||||
|
default: None
|
||||||
'''
|
'''
|
||||||
|
|||||||
Reference in New Issue
Block a user