Convert to reduced list of known types (#50010)

This commit is contained in:
Dag Wieers 2018-12-18 22:25:30 +01:00 committed by Jordan Borean
commit 05c6ff79f9
908 changed files with 4822 additions and 4821 deletions

View file

@ -86,7 +86,7 @@ RETURN = """
msg:
description: execution result
returned: success
type: string
type: str
sample: "OK"
"""

View file

@ -86,7 +86,7 @@ RETURN = '''
changed:
description: Whether the api accepted the message.
returned: always
type: boolean
type: bool
sample: True
'''

View file

@ -110,7 +110,7 @@ message:
- The Response Message returned by the Spark API.
- Full Response Code explanations can be found at U(https://developer.ciscospark.com/endpoint-messages-post.html).
returned: always
type: string
type: str
sample: OK (585 bytes)
"""
from ansible.module_utils.basic import AnsibleModule

View file

@ -82,11 +82,11 @@ RETURN = '''
payload:
description: Mattermost payload
returned: success
type: string
type: str
webhook_url:
description: URL the webhook is sent to
returned: success
type: string
type: str
'''
from ansible.module_utils.basic import AnsibleModule

View file

@ -139,7 +139,7 @@ RETURN = """
changed:
description: A flag indicating if any change was made or not.
returned: success
type: boolean
type: bool
sample: false
"""

View file

@ -63,12 +63,12 @@ RETURN = """
msg:
description: The message you attempted to send
returned: success
type: string
type: str
sample: "Ansible task finished"
telegram_error:
description: Error message gotten from Telegram API
returned: failure
type: string
type: str
sample: "Bad Request: message text is empty"
"""