mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
fixed RETURN docs for modules (#24011)
* fixed RETURN docs for remaining modules * updated proxymysql_mysql_users 'sample' to yaml dict * fixed whitespace errors
This commit is contained in:
committed by
John R Barker
parent
9a0a7f78d7
commit
d1517f997a
@@ -67,7 +67,10 @@ EXAMPLES = """
|
||||
"""
|
||||
|
||||
RETURN = """
|
||||
msg: Gathered facts for <StorageArrayId>.
|
||||
msg:
|
||||
description: Gathered facts for <StorageArrayId>.
|
||||
returned: always
|
||||
type: string
|
||||
"""
|
||||
import json
|
||||
|
||||
|
||||
@@ -98,8 +98,11 @@ EXAMPLES = '''
|
||||
api_password: "{{ netapp_api_password }}"
|
||||
'''
|
||||
RETURN = '''
|
||||
msg: Mapping exists.
|
||||
msg: Mapping removed.
|
||||
msg:
|
||||
description: Status of mapping
|
||||
returned: always
|
||||
type: string
|
||||
sample: 'Mapping existing'
|
||||
'''
|
||||
import json
|
||||
|
||||
|
||||
@@ -73,9 +73,16 @@ EXAMPLES = """
|
||||
"""
|
||||
RETURN = """
|
||||
---
|
||||
changed: true
|
||||
msg: "Created snapshot image"
|
||||
image_id: "3400000060080E5000299B640063074057BC5C5E "
|
||||
msg:
|
||||
description: State of operation
|
||||
type: string
|
||||
returned: always
|
||||
sample: "Created snapshot image"
|
||||
image_id:
|
||||
description: ID of snaphot image
|
||||
type: string
|
||||
returned: state == created
|
||||
sample: "3400000060080E5000299B640063074057BC5C5E "
|
||||
"""
|
||||
|
||||
HEADERS = {
|
||||
|
||||
@@ -99,8 +99,11 @@ EXAMPLES = '''
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
msg: Storage system removed.
|
||||
msg: Storage system added.
|
||||
msg:
|
||||
description: State of request
|
||||
type: string
|
||||
returned: always
|
||||
sample: 'Storage system removed.'
|
||||
'''
|
||||
import json
|
||||
from datetime import datetime as dt, timedelta
|
||||
|
||||
@@ -134,12 +134,11 @@ EXAMPLES = '''
|
||||
'''
|
||||
RETURN = '''
|
||||
---
|
||||
msg: "Standard volume [workload_vol_1] has been created."
|
||||
msg: "Thin volume [workload_thin_vol] has been created."
|
||||
msg: "Volume [workload_vol_1] has been expanded."
|
||||
msg: "Volume [workload_vol_1] has been deleted."
|
||||
msg: "Volume [workload_vol_1] did not exist."
|
||||
msg: "Volume [workload_vol_1] already exists."
|
||||
msg:
|
||||
description: State of volume
|
||||
type: string
|
||||
returned: always
|
||||
sample: "Standard volume [workload_vol_1] has been created."
|
||||
'''
|
||||
|
||||
import json
|
||||
|
||||
@@ -139,7 +139,7 @@ RETURN = """
|
||||
schedule_id:
|
||||
description: Schedule ID of the newly created schedule
|
||||
returned: success
|
||||
|
||||
type: string
|
||||
"""
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
|
||||
Reference in New Issue
Block a user