From ea159ef9de3927c35b629cd7df9cb33eb83ad8bf Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 14 Jul 2015 10:07:30 -0400 Subject: [PATCH] fixed backup and validate fragments --- lib/ansible/utils/module_docs_fragments/backup.py | 1 + .../utils/module_docs_fragments/validate.py | 15 ++++++++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/lib/ansible/utils/module_docs_fragments/backup.py b/lib/ansible/utils/module_docs_fragments/backup.py index bee7182a91f..f6b2902512a 100644 --- a/lib/ansible/utils/module_docs_fragments/backup.py +++ b/lib/ansible/utils/module_docs_fragments/backup.py @@ -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 diff --git a/lib/ansible/utils/module_docs_fragments/validate.py b/lib/ansible/utils/module_docs_fragments/validate.py index 6b4a14b7fa2..98fb07ac4e5 100644 --- a/lib/ansible/utils/module_docs_fragments/validate.py +++ b/lib/ansible/utils/module_docs_fragments/validate.py @@ -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 '''