mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-04 05:04:22 -07:00
[PR #10463/d288555f backport][stable-11] doc style adjustments: modules p* (#10468)
doc style adjustments: modules p* (#10463)
* doc style adjustments: modules p*
* Update plugins/modules/pacemaker_resource.py
* Update plugins/modules/pagerduty_alert.py
* Update plugins/modules/pear.py
* Update plugins/modules/portage.py
* reformat
* adjustment from review
* Update plugins/modules/pkg5_publisher.py
---------
(cherry picked from commit d288555fd9
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Peter Oliver <github.com@mavit.org.uk>
This commit is contained in:
parent
62e852f421
commit
6d8ae5d639
30 changed files with 161 additions and 155 deletions
|
@ -68,21 +68,20 @@ options:
|
|||
type: str
|
||||
module_arguments:
|
||||
description:
|
||||
- When O(state=updated), the O(module_arguments) will replace existing module_arguments.
|
||||
- When O(state=args_absent) args matching those listed in O(module_arguments) will be removed.
|
||||
- When O(state=updated), the O(module_arguments) replace existing module_arguments.
|
||||
- When O(state=args_absent) args matching those listed in O(module_arguments) are removed.
|
||||
- When O(state=args_present) any args listed in O(module_arguments) are added if missing from the existing rule.
|
||||
- Furthermore, if the module argument takes a value denoted by C(=), the value will be changed to that specified in
|
||||
module_arguments.
|
||||
- Furthermore, if the module argument takes a value denoted by C(=), the value changes to that specified in module_arguments.
|
||||
type: list
|
||||
elements: str
|
||||
state:
|
||||
description:
|
||||
- The default of V(updated) will modify an existing rule if type, control and module_path all match an existing rule.
|
||||
- With V(before), the new rule will be inserted before a rule matching type, control and module_path.
|
||||
- Similarly, with V(after), the new rule will be inserted after an existing rulematching type, control and module_path.
|
||||
- The default of V(updated) modifies an existing rule if type, control and module_path all match an existing rule.
|
||||
- With V(before), the new rule is inserted before a rule matching type, control and module_path.
|
||||
- Similarly, with V(after), the new rule is inserted after an existing rulematching type, control and module_path.
|
||||
- With either V(before) or V(after) O(new_type), O(new_control), and O(new_module_path) must all be specified.
|
||||
- If state is V(args_absent) or V(args_present), O(new_type), O(new_control), and O(new_module_path) will be ignored.
|
||||
- State V(absent) will remove the rule.
|
||||
- If state is V(args_absent) or V(args_present), O(new_type), O(new_control), and O(new_module_path) are ignored.
|
||||
- State V(absent) removes the rule.
|
||||
type: str
|
||||
choices: [absent, before, after, args_absent, args_present, updated]
|
||||
default: updated
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue