mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-29 03:30:22 -07:00
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:
parent
8196cacff8
commit
2b48825499
87 changed files with 2071 additions and 1660 deletions
|
@ -57,20 +57,42 @@ deleted_keys:
|
|||
description: An array of key objects that were deleted. Only present on state=absent.
|
||||
type: list
|
||||
returned: When state=absent
|
||||
sample: [{'id': 0, 'key': 'BASE64 encoded key', 'url': 'http://example.com/github key', 'created_at': 'YYYY-MM-DDTHH:MM:SZ',
|
||||
'read_only': false}]
|
||||
sample:
|
||||
[
|
||||
{
|
||||
"id": 0,
|
||||
"key": "BASE64 encoded key",
|
||||
"url": "http://example.com/github key",
|
||||
"created_at": "YYYY-MM-DDTHH:MM:SZ",
|
||||
"read_only": false
|
||||
}
|
||||
]
|
||||
matching_keys:
|
||||
description: An array of keys matching the specified name. Only present on state=present.
|
||||
type: list
|
||||
returned: When state=present
|
||||
sample: [{'id': 0, 'key': 'BASE64 encoded key', 'url': 'http://example.com/github key', 'created_at': 'YYYY-MM-DDTHH:MM:SZ',
|
||||
'read_only': false}]
|
||||
sample:
|
||||
[
|
||||
{
|
||||
"id": 0,
|
||||
"key": "BASE64 encoded key",
|
||||
"url": "http://example.com/github key",
|
||||
"created_at": "YYYY-MM-DDTHH:MM:SZ",
|
||||
"read_only": false
|
||||
}
|
||||
]
|
||||
key:
|
||||
description: Metadata about the key just created. Only present on state=present.
|
||||
type: dict
|
||||
returned: success
|
||||
sample: {'id': 0, 'key': 'BASE64 encoded key', 'url': 'http://example.com/github key', 'created_at': 'YYYY-MM-DDTHH:MM:SZ',
|
||||
'read_only': false}
|
||||
sample:
|
||||
{
|
||||
"id": 0,
|
||||
"key": "BASE64 encoded key",
|
||||
"url": "http://example.com/github key",
|
||||
"created_at": "YYYY-MM-DDTHH:MM:SZ",
|
||||
"read_only": false
|
||||
}
|
||||
"""
|
||||
|
||||
EXAMPLES = r"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue