[stable-10] Adjust YAML in module docs (#10240) (#10257)

Adjust YAML in module docs (#10240)

* Adjust YAML in module docs.

* adjust modules

---------


(cherry picked from commit e8f965fbf8)

Co-authored-by: Alexei Znamensky <russoz@gmail.com>
This commit is contained in:
Felix Fontein 2025-06-16 18:02:09 +02:00 committed by GitHub
commit 2b48825499
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
87 changed files with 2071 additions and 1660 deletions

View file

@ -41,37 +41,37 @@ EXAMPLES = r"""
RETURN = r"""
organizations:
description: List of Pritunl organizations.
returned: success
type: list
elements: dict
sample:
[
{
"auth_api": false,
"name": "FooOrg",
"auth_token": null,
"user_count": 0,
"auth_secret": null,
"id": "csftwlu6uhralzi2dpmhekz3",
},
{
"auth_api": false,
"name": "MyOrg",
"auth_token": null,
"user_count": 3,
"auth_secret": null,
"id": "58070daee63f3b2e6e472c36",
},
{
"auth_api": false,
"name": "BarOrg",
"auth_token": null,
"user_count": 0,
"auth_secret": null,
"id": "v1sncsxxybnsylc8gpqg85pg",
}
]
description: List of Pritunl organizations.
returned: success
type: list
elements: dict
sample:
[
{
"auth_api": false,
"name": "FooOrg",
"auth_token": null,
"user_count": 0,
"auth_secret": null,
"id": "csftwlu6uhralzi2dpmhekz3"
},
{
"auth_api": false,
"name": "MyOrg",
"auth_token": null,
"user_count": 3,
"auth_secret": null,
"id": "58070daee63f3b2e6e472c36"
},
{
"auth_api": false,
"name": "BarOrg",
"auth_token": null,
"user_count": 0,
"auth_secret": null,
"id": "v1sncsxxybnsylc8gpqg85pg"
}
]
"""
from ansible.module_utils.basic import AnsibleModule