[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:
patchback[bot] 2025-07-27 12:13:47 +02:00 committed by GitHub
commit 6d8ae5d639
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
30 changed files with 161 additions and 155 deletions

View file

@ -47,14 +47,14 @@ options:
description:
- List of regular expressions that can be used to detect prompts during pear package installation to answer the expected
question.
- Prompts will be processed in the same order as the packages list.
- Prompts are processed in the same order as the packages list.
- You can optionally specify an answer to any question in the list.
- If no answer is provided, the list item will only contain the regular expression.
- "To specify an answer, the item will be a dict with the regular expression as key and the answer as value C(my_regular_expression:
- If no answer is provided, the list item must contain only the regular expression.
- "To specify an answer, the item must be a dictionary with the regular expression as key and the answer as value C(my_regular_expression:
'an_answer')."
- You can provide a list containing items with or without answer.
- A prompt list can be shorter or longer than the packages list but will issue a warning.
- If you want to specify that a package will not need prompts in the middle of a list, V(null).
- A prompt list can be shorter or longer than the packages list but it issues a warning.
- If you want to specify that a package does not need prompts in the middle of a list, V(null).
type: list
elements: raw
version_added: 0.2.0