mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
Convert to reduced list of known types (#50010)
This commit is contained in:
parent
fcd1486b51
commit
05c6ff79f9
908 changed files with 4822 additions and 4821 deletions
|
@ -86,7 +86,7 @@ RETURN = """
|
|||
msg:
|
||||
description: execution result
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "OK"
|
||||
"""
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ RETURN = '''
|
|||
changed:
|
||||
description: Whether the api accepted the message.
|
||||
returned: always
|
||||
type: boolean
|
||||
type: bool
|
||||
sample: True
|
||||
'''
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
"""
|
||||
|
||||
|
|
|
@ -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"
|
||||
"""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue