1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-22 05:09:12 +00:00

doc style adjustments: modules [no]* (#10443)

* doc style adjustments: modules n*

* doc style adjustments: modules o*

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
Alexei Znamensky 2025-07-25 18:52:01 +12:00 committed by GitHub
parent f1f7d9b038
commit 6d67546902
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
36 changed files with 252 additions and 229 deletions

View file

@ -46,14 +46,14 @@ options:
type: str
rules:
description:
- A list of rules that will be set for the firewall policy. Each rule must contain protocol parameter, in addition to
three optional parameters (port_from, port_to, and source).
- List of rules that are set for the firewall policy. Each rule must contain protocol parameter, in addition to three
optional parameters (port_from, port_to, and source).
type: list
elements: dict
default: []
add_server_ips:
description:
- A list of server identifiers (id or name) to be assigned to a firewall policy. Used in combination with update state.
- A list of server identifiers (ID or name) to be assigned to a firewall policy. Used in combination with update state.
type: list
elements: str
required: false
@ -67,15 +67,15 @@ options:
default: []
add_rules:
description:
- A list of rules that will be added to an existing firewall policy. It is syntax is the same as the one used for rules
parameter. Used in combination with update state.
- List of rules that are added to an existing firewall policy. It is syntax is the same as the one used for rules parameter.
Used in combination with update state.
type: list
elements: dict
required: false
default: []
remove_rules:
description:
- A list of rule IDs that will be removed from an existing firewall policy. Used in combination with update state.
- List of rule IDs that are removed from an existing firewall policy. Used in combination with update state.
type: list
elements: str
required: false
@ -194,7 +194,7 @@ RETURN = r"""
firewall_policy:
description: Information about the firewall policy that was processed.
type: dict
sample: '{"id": "92B74394A397ECC3359825C1656D67A6", "name": "Default Policy"}'
sample: {"id": "92B74394A397ECC3359825C1656D67A6", "name": "Default Policy"}
returned: always
"""