mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 03:00:23 -07:00
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:
parent
e938ca5f20
commit
e8f965fbf8
89 changed files with 2085 additions and 1675 deletions
|
@ -74,31 +74,32 @@ memset_api:
|
|||
description: Details about the firewall group this server is in.
|
||||
returned: always
|
||||
type: dict
|
||||
sample: {
|
||||
"default_outbound_policy": "RETURN",
|
||||
"name": "testyaa-fw1",
|
||||
"nickname": "testyaa cPanel rules",
|
||||
"notes": "",
|
||||
"public": false,
|
||||
"rules": {
|
||||
"51d7db54d39c3544ef7c48baa0b9944f": {
|
||||
"action": "ACCEPT",
|
||||
"comment": "",
|
||||
"dest_ip6s": "any",
|
||||
"dest_ips": "any",
|
||||
"dest_ports": "any",
|
||||
"direction": "Inbound",
|
||||
"ip_version": "any",
|
||||
"ordering": 2,
|
||||
"protocols": "icmp",
|
||||
"rule_group_name": "testyaa-fw1",
|
||||
"rule_id": "51d7db54d39c3544ef7c48baa0b9944f",
|
||||
"source_ip6s": "any",
|
||||
"source_ips": "any",
|
||||
"source_ports": "any"
|
||||
sample:
|
||||
{
|
||||
"default_outbound_policy": "RETURN",
|
||||
"name": "testyaa-fw1",
|
||||
"nickname": "testyaa cPanel rules",
|
||||
"notes": "",
|
||||
"public": false,
|
||||
"rules": {
|
||||
"51d7db54d39c3544ef7c48baa0b9944f": {
|
||||
"action": "ACCEPT",
|
||||
"comment": "",
|
||||
"dest_ip6s": "any",
|
||||
"dest_ips": "any",
|
||||
"dest_ports": "any",
|
||||
"direction": "Inbound",
|
||||
"ip_version": "any",
|
||||
"ordering": 2,
|
||||
"protocols": "icmp",
|
||||
"rule_group_name": "testyaa-fw1",
|
||||
"rule_id": "51d7db54d39c3544ef7c48baa0b9944f",
|
||||
"source_ip6s": "any",
|
||||
"source_ips": "any",
|
||||
"source_ports": "any"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
firewall_type:
|
||||
description: The type of firewall the server has (for example self-managed, managed).
|
||||
returned: always
|
||||
|
@ -118,15 +119,16 @@ memset_api:
|
|||
description: List of dictionaries of all IP addresses assigned to the server.
|
||||
returned: always
|
||||
type: list
|
||||
sample: [
|
||||
{
|
||||
"address": "1.2.3.4",
|
||||
"bytes_in_today": 1000.0,
|
||||
"bytes_in_yesterday": 2000.0,
|
||||
"bytes_out_today": 1000.0,
|
||||
"bytes_out_yesterday": 2000.0
|
||||
}
|
||||
]
|
||||
sample:
|
||||
[
|
||||
{
|
||||
"address": "1.2.3.4",
|
||||
"bytes_in_today": 1000.0,
|
||||
"bytes_in_yesterday": 2000.0,
|
||||
"bytes_out_today": 1000.0,
|
||||
"bytes_out_yesterday": 2000.0
|
||||
}
|
||||
]
|
||||
monitor:
|
||||
description: Whether the server has monitoring enabled.
|
||||
returned: always
|
||||
|
@ -221,10 +223,14 @@ memset_api:
|
|||
description: Dictionary of tagged and untagged VLANs this server is in.
|
||||
returned: always
|
||||
type: dict
|
||||
sample: {
|
||||
tagged: [],
|
||||
untagged: [ 'testyaa-vlan1', 'testyaa-vlan2' ]
|
||||
}
|
||||
sample:
|
||||
{
|
||||
"tagged": [],
|
||||
"untagged": [
|
||||
"testyaa-vlan1",
|
||||
"testyaa-vlan2"
|
||||
]
|
||||
}
|
||||
vulnscan:
|
||||
description: Vulnerability scanning level.
|
||||
returned: always
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue