Fixed sanity checks for cloud/online/ modules (#2677) (#2679)

* fixed validation-modules for plugins/modules/cloud/online/online_server_info.py

* fixed validation-modules for plugins/modules/cloud/online/online_user_info.py

* sanity fix

(cherry picked from commit bef3c04d1c)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2021-05-29 17:08:56 +02:00 committed by GitHub
parent 7483f71d31
commit 6590f5e082
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 16 deletions

View file

@ -32,11 +32,13 @@ EXAMPLES = r'''
'''
RETURN = r'''
---
online_server_info:
description: Response from Online API
description:
- Response from Online API.
- "For more details please refer to: U(https://console.online.net/en/api/)."
returned: success
type: complex
type: list
elements: dict
sample:
"online_server_info": [
{

View file

@ -7,7 +7,6 @@ from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
DOCUMENTATION = r'''
---
module: online_user_info
short_description: Gather information about Online user.
description:
@ -16,7 +15,6 @@ author:
- "Remy Leone (@sieben)"
extends_documentation_fragment:
- community.general.online
'''
EXAMPLES = r'''
@ -29,11 +27,12 @@ EXAMPLES = r'''
'''
RETURN = r'''
---
online_user_info:
description: Response from Online API
description:
- Response from Online API.
- "For more details please refer to: U(https://console.online.net/en/api/)."
returned: success
type: complex
type: dict
sample:
"online_user_info": {
"company": "foobar LLC",