o*: style adjustments (#9526)

* o*: style adjustments

* apply recommendations from review

* Update plugins/modules/one_vm.py

* fix example

* adjustment from review

* Update plugins/modules/one_vm.py

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

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
Alexei Znamensky 2025-01-13 01:03:26 +13:00 committed by GitHub
parent 3dcac2b030
commit d325cfc343
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 196 additions and 173 deletions

View file

@ -22,7 +22,7 @@ extends_documentation_fragment:
options:
ids:
description:
- A list of images ids whose facts you want to gather.
- A list of images IDs whose facts you want to gather.
- Module can use integers too.
aliases: ['id']
type: list
@ -30,8 +30,8 @@ options:
name:
description:
- A O(name) of the image whose facts will be gathered.
- If the O(name) begins with V(~) the O(name) will be used as regex pattern,
which restricts the list of images (whose facts will be returned) whose names match specified regex.
- If the O(name) begins with V(~) the O(name) will be used as regex pattern, which restricts the list of images (whose
facts will be returned) whose names match specified regex.
- Also, if the O(name) begins with V(~*) case-insensitive matching will be performed.
- See examples for more details.
type: str
@ -84,7 +84,7 @@ images:
returned: success
contains:
id:
description: The image's id.
description: The image's ID.
type: int
sample: 153
name:
@ -92,7 +92,7 @@ images:
type: str
sample: app1
group_id:
description: The image's group id.
description: The image's group ID.
type: int
sample: 1
group_name:
@ -100,7 +100,7 @@ images:
type: str
sample: one-users
owner_id:
description: The image's owner id.
description: The image's owner ID.
type: int
sample: 143
owner_name: