1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-07-08 11:39:02 +00:00

[PR #11981/de42aec7 backport][stable-12] Improve module docs (#11986)

Improve module docs (#11981)

* Fix _facts module documentation.

* Get rid of some more 'type: complex'.

(cherry picked from commit de42aec78b)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2026-05-03 10:16:42 +00:00 committed by GitHub
parent c2c1899359
commit 82555713b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 297 additions and 266 deletions

View file

@ -43,45 +43,50 @@ EXAMPLES = r"""
"""
RETURN = r"""
cloud_init_data_facts:
description: Facts of result and status.
ansible_facts:
description: The returned facts.
returned: success
type: dict
sample:
{
"status": {
"v1": {
"datasource": "DataSourceCloudStack",
"errors": []
contains:
cloud_init_data_facts:
description: Facts of result and status.
returned: success
type: dict
sample:
{
"status": {
"v1": {
"datasource": "DataSourceCloudStack",
"errors": []
}
},
"result": {
"v1": {
"datasource": "DataSourceCloudStack",
"init": {
"errors": [],
"finished": 1522066377.0185432,
"start": 1522066375.2648022
},
"init-local": {
"errors": [],
"finished": 1522066373.70919,
"start": 1522066373.4726632
},
"modules-config": {
"errors": [],
"finished": 1522066380.9097016,
"start": 1522066379.0011985
},
"modules-final": {
"errors": [],
"finished": 1522066383.56594,
"start": 1522066382.3449218
},
"stage": null
}
}
}
},
"result": {
"v1": {
"datasource": "DataSourceCloudStack",
"init": {
"errors": [],
"finished": 1522066377.0185432,
"start": 1522066375.2648022
},
"init-local": {
"errors": [],
"finished": 1522066373.70919,
"start": 1522066373.4726632
},
"modules-config": {
"errors": [],
"finished": 1522066380.9097016,
"start": 1522066379.0011985
},
"modules-final": {
"errors": [],
"finished": 1522066383.56594,
"start": 1522066382.3449218
},
"stage": null
}
}
}
"""
import os