Adjust YAML in module docs (#10240)

* Adjust YAML in module docs.

* adjust modules

---------

Co-authored-by: Alexei Znamensky <russoz@gmail.com>
This commit is contained in:
Felix Fontein 2025-06-16 17:45:12 +02:00 committed by GitHub
parent e938ca5f20
commit e8f965fbf8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
89 changed files with 2085 additions and 1675 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