mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 07:24:00 -07:00
[PR #10409/a36ad54b backport][stable-11] doc style adjustments: modules i* (#10411)
doc style adjustments: modules i* (#10409)
(cherry picked from commit a36ad54b53
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
ffa1436f05
commit
27377140d0
28 changed files with 305 additions and 306 deletions
|
@ -39,7 +39,7 @@ options:
|
|||
section:
|
||||
description:
|
||||
- Section name in INI file. This is added if O(state=present) automatically when a single value is being set.
|
||||
- If being omitted, the O(option) will be placed before the first O(section).
|
||||
- If being omitted, the O(option) is placed before the first O(section).
|
||||
- Omitting O(section) is also required if the config format does not support sections.
|
||||
type: str
|
||||
section_has_values:
|
||||
|
@ -63,7 +63,7 @@ options:
|
|||
elements: str
|
||||
description:
|
||||
- Among possibly multiple sections of the same name, select the first one that contains matching options and values.
|
||||
- With O(state=present), if a suitable section is not found, a new section will be added, including the required options.
|
||||
- With O(state=present), if a suitable section is not found, a new section is added, including the required options.
|
||||
- With O(state=absent), at most one O(section) is removed if it contains the values.
|
||||
version_added: 8.6.0
|
||||
option:
|
||||
|
@ -100,8 +100,8 @@ options:
|
|||
O(option)s with the same name are not touched.
|
||||
- If set to V(present) and O(exclusive) set to V(false) the specified O(option=values) lines are added, but the other
|
||||
O(option)s with the same name are not touched.
|
||||
- If set to V(present) and O(exclusive) set to V(true) all given O(option=values) lines will be added and the other
|
||||
O(option)s with the same name are removed.
|
||||
- If set to V(present) and O(exclusive) set to V(true) all given O(option=values) lines are added and the other O(option)s
|
||||
with the same name are removed.
|
||||
type: str
|
||||
choices: [absent, present]
|
||||
default: present
|
||||
|
@ -126,8 +126,8 @@ options:
|
|||
version_added: 7.5.0
|
||||
create:
|
||||
description:
|
||||
- If set to V(false), the module will fail if the file does not already exist.
|
||||
- By default it will create the file if it is missing.
|
||||
- If set to V(false), the module fails if the file does not already exist.
|
||||
- By default it creates the file if it is missing.
|
||||
type: bool
|
||||
default: true
|
||||
allow_no_value:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue