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
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

@ -30,8 +30,8 @@ options:
type: str
options:
description:
- 'List with options to gather additional information about an Enclosure and related resources. Options allowed: V(script), V(environmentalConfiguration),
and V(utilization). For the option V(utilization), you can provide specific parameters.'
- 'List with options to gather additional information about an Enclosure and related resources. Options allowed: V(script),
V(environmentalConfiguration), and V(utilization). For the option V(utilization), you can provide specific parameters.'
type: list
elements: raw
@ -122,11 +122,12 @@ EXAMPLES = r"""
ansible.builtin.debug:
msg: "{{ result.enclosure_utilization }}"
- name: "Gather information about an Enclosure with temperature data at a resolution of one sample per day, between two specified dates"
- name: "Gather information about an Enclosure with temperature data at a resolution of one sample per day, between two
specified dates"
community.general.oneview_enclosure_info:
name: Test-Enclosure
options:
- utilization: # optional
- utilization: # optional
fields: AmbientTemperature
filter:
- startDate=2016-07-01T14:29:42.000Z