Fixes indentation style issues (#51637)

Fixes docstrings
This commit is contained in:
Wojciech Wypior 2019-02-02 01:49:33 +00:00 committed by Tim Rupp
parent fd2e0ddcac
commit 48704d45fd
10 changed files with 21 additions and 20 deletions

View file

@ -35,15 +35,16 @@ options:
versions of BIG-IP. The opposite, however, is true; you can import older into versions of BIG-IP. The opposite, however, is true; you can import older into
newer. newer.
- The file format can be binary of XML. - The file format can be binary of XML.
type: path
force: force:
description: description:
- When set to C(yes) any existing policy with the same name will be overwritten by the new import. - When set to C(yes) any existing policy with the same name will be overwritten by the new import.
- Works in both inline and file imports, if policy does not exist this setting is ignored. - Works for both inline and file imports, if the policy does not exist this setting is ignored.
default: no default: no
type: bool type: bool
partition: partition:
description: description:
- Device partition to manage resources on. - Device partition to create policy on.
default: Common default: Common
extends_documentation_fragment: f5 extends_documentation_fragment: f5
author: author:
@ -84,8 +85,8 @@ EXAMPLES = r'''
''' '''
RETURN = r''' RETURN = r'''
file: source:
description: Local path to ASM policy file. description: Local path to an ASM policy file.
returned: changed returned: changed
type: str type: str
sample: /root/some_policy.xml sample: /root/some_policy.xml
@ -365,7 +366,7 @@ class ModuleManager(object):
if response['status'] == 'FAILURE': if response['status'] == 'FAILURE':
raise F5ModuleError( raise F5ModuleError(
'Failed to export ASM policy.' 'Failed to import ASM policy.'
) )
if response['status'] == 'COMPLETED': if response['status'] == 'COMPLETED':
return True return True