mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-05 05:34: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
|
@ -50,7 +50,7 @@ options:
|
|||
type: int
|
||||
unit:
|
||||
description:
|
||||
- Selects the current default unit that Parted will use to display locations and capacities on the disk and to interpret
|
||||
- Selects the current default unit that Parted uses to display locations and capacities on the disk and to interpret
|
||||
those given by the user if they are not suffixed by an unit.
|
||||
- When fetching information about a disk, it is recommended to always specify a unit.
|
||||
type: str
|
||||
|
@ -59,8 +59,7 @@ options:
|
|||
label:
|
||||
description:
|
||||
- Disk label type or partition table to use.
|
||||
- If O(device) already contains a different label, it will be changed to O(label) and any previous partitions will be
|
||||
lost.
|
||||
- If O(device) already contains a different label, it is changed to O(label) and any previous partitions are lost.
|
||||
- A O(name) must be specified for a V(gpt) partition table.
|
||||
type: str
|
||||
choices: [aix, amiga, bsd, dvh, gpt, loop, mac, msdos, pc98, sun]
|
||||
|
@ -74,8 +73,8 @@ options:
|
|||
default: primary
|
||||
part_start:
|
||||
description:
|
||||
- Where the partition will start as offset from the beginning of the disk, that is, the "distance" from the start of
|
||||
the disk. Negative numbers specify distance from the end of the disk.
|
||||
- Where the partition starts as offset from the beginning of the disk, that is, the "distance" from the start of the
|
||||
disk. Negative numbers specify distance from the end of the disk.
|
||||
- The distance can be specified with all the units supported by parted (except compat) and it is case sensitive, for
|
||||
example V(10GiB), V(15%).
|
||||
- Using negative values may require setting of O(fs_type) (see notes).
|
||||
|
@ -83,8 +82,8 @@ options:
|
|||
default: 0%
|
||||
part_end:
|
||||
description:
|
||||
- Where the partition will end as offset from the beginning of the disk, that is, the "distance" from the start of the
|
||||
disk. Negative numbers specify distance from the end of the disk.
|
||||
- Where the partition ends as offset from the beginning of the disk, that is, the "distance" from the start of the disk.
|
||||
Negative numbers specify distance from the end of the disk.
|
||||
- The distance can be specified with all the units supported by parted (except compat) and it is case sensitive, for
|
||||
example V(10GiB), V(15%).
|
||||
type: str
|
||||
|
@ -100,13 +99,13 @@ options:
|
|||
state:
|
||||
description:
|
||||
- Whether to create or delete a partition.
|
||||
- If set to V(info) the module will only return the device information.
|
||||
- If set to V(info) the module only returns the device information.
|
||||
type: str
|
||||
choices: [absent, present, info]
|
||||
default: info
|
||||
fs_type:
|
||||
description:
|
||||
- If specified and the partition does not exist, will set filesystem type to given partition.
|
||||
- If specified and the partition does not exist, sets filesystem type to given partition.
|
||||
- Parameter optional, but see notes below about negative O(part_start) values.
|
||||
type: str
|
||||
version_added: '0.2.0'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue