mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00: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:
@@ -116,21 +116,22 @@ EXAMPLES = r"""
|
||||
|
||||
RETURN = r"""
|
||||
data:
|
||||
description: This is only present when O(state=present).
|
||||
returned: when O(state=present)
|
||||
type: dict
|
||||
sample: {
|
||||
"scaleway_security_group_rule": {
|
||||
"direction": "inbound",
|
||||
"protocol": "TCP",
|
||||
"ip_range": "0.0.0.0/0",
|
||||
"dest_port_from": 80,
|
||||
"action": "accept",
|
||||
"position": 2,
|
||||
"dest_port_to": null,
|
||||
"editable": null,
|
||||
"id": "10cb0b9a-80f6-4830-abd7-a31cd828b5e9"
|
||||
}
|
||||
description: This is only present when O(state=present).
|
||||
returned: when O(state=present)
|
||||
type: dict
|
||||
sample:
|
||||
{
|
||||
"scaleway_security_group_rule": {
|
||||
"direction": "inbound",
|
||||
"protocol": "TCP",
|
||||
"ip_range": "0.0.0.0/0",
|
||||
"dest_port_from": 80,
|
||||
"action": "accept",
|
||||
"position": 2,
|
||||
"dest_port_to": null,
|
||||
"editable": null,
|
||||
"id": "10cb0b9a-80f6-4830-abd7-a31cd828b5e9"
|
||||
}
|
||||
}
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user