1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

redfish modules: documentation language and formatting (#4722) (#4725)

* redfish_command: documentation language and formatting

Update the documentation block with more English language
more consistent with other modules and finish each description
with a full stop.

* redfish_command: do not end short desc in full stop

* redfish_command: remove more "the" on documentation

Remove "The" from beginning of descriptions.

* redfish_command: start documentation description with capital case

* redfish_config: update documentation language and format

Add full stops at end of descriptions, small updates to language,
ensure descriptions start with a capital case letter.

* redfish_config: documentation consistency

Use "username" for description similarly to redfish_command.

* redfish_info: documentation formatting and language

Update documentation block for consistency with other modules
with full stop at end of descriptions and small language updates.

* idrac_redfish_command: documentation formatting and language

Update documentation block for consistency with other modules
with full stop at end of descriptions and small language updates.

* idrac_redfish_command: more doc consistency fixes

Call it iDRAC everywhere and not sometimes OOB controller.

* idrac_redfish_command: documentation formatting and language

Update documentation block for consistency with other modules
with full stop at end of descriptions and small language updates.

* idrac_redfish_info: documentation formatting and language

Update documentation block for consistency with other modules
with full stop at end of descriptions and small language updates.

* ilo_redfish_config: documentation formatting and language

Update documentation block for consistency with other modules
with full stop at end of descriptions and small language updates.

* ilo_redfish_info: documentation formatting and language

Update documentation block for consistency with other modules
with full stop at end of descriptions and small language updates.

* idrac_redfish_info: documentation language

Call it "HTTP request" and not "URL request".

* idrac_redfish_command: documentation language fix

Call it "HTTP request" and not "URL request".

* idrac_redfish_config: documentation language fix

Call it "HTTP request" and not "URL request".

* redfish_command: documentation language fix

Call it "HTTP request" and not "URL request".

* redfish_config: documentation language fix

Call it "HTTP request" and not "URL request".

* redfish_info: documentation language fix

Call it "HTTP request" and not "URL request".

* redfish_command: documentation language fix

Boot device should be two words.

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

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 88cd35fd45)

Co-authored-by: bluikko <14869000+bluikko@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2022-05-24 20:20:25 +02:00 committed by GitHub
parent b2802dc8eb
commit 99958cea49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 88 additions and 88 deletions

View file

@ -14,46 +14,46 @@ short_description: Manages Out-Of-Band controllers using iDRAC OEM Redfish APIs
description: description:
- Builds Redfish URIs locally and sends them to remote OOB controllers to - Builds Redfish URIs locally and sends them to remote OOB controllers to
perform an action. perform an action.
- For use with Dell iDRAC operations that require Redfish OEM extensions - For use with Dell iDRAC operations that require Redfish OEM extensions.
options: options:
category: category:
required: true required: true
description: description:
- Category to execute on OOB controller - Category to execute on iDRAC.
type: str type: str
command: command:
required: true required: true
description: description:
- List of commands to execute on OOB controller - List of commands to execute on iDRAC.
type: list type: list
elements: str elements: str
baseuri: baseuri:
required: true required: true
description: description:
- Base URI of OOB controller - Base URI of iDRAC.
type: str type: str
username: username:
description: description:
- User for authentication with OOB controller - Username for authenticating to iDRAC.
type: str type: str
password: password:
description: description:
- Password for authentication with OOB controller - Password for authenticating to iDRAC.
type: str type: str
auth_token: auth_token:
description: description:
- Security token for authentication with OOB controller - Security token for authenticating to iDRAC.
type: str type: str
version_added: 2.3.0 version_added: 2.3.0
timeout: timeout:
description: description:
- Timeout in seconds for URL requests to OOB controller - Timeout in seconds for HTTP requests to iDRAC.
default: 10 default: 10
type: int type: int
resource_id: resource_id:
required: false required: false
description: description:
- The ID of the System, Manager or Chassis to modify - ID of the System, Manager or Chassis to modify.
type: str type: str
version_added: '0.2.0' version_added: '0.2.0'

View file

@ -20,50 +20,50 @@ options:
required: true required: true
type: str type: str
description: description:
- Category to execute on iDRAC - Category to execute on iDRAC.
command: command:
required: true required: true
description: description:
- List of commands to execute on iDRAC - List of commands to execute on iDRAC.
- I(SetManagerAttributes), I(SetLifecycleControllerAttributes) and - I(SetManagerAttributes), I(SetLifecycleControllerAttributes) and
I(SetSystemAttributes) are mutually exclusive commands when C(category) I(SetSystemAttributes) are mutually exclusive commands when C(category)
is I(Manager) is I(Manager).
type: list type: list
elements: str elements: str
baseuri: baseuri:
required: true required: true
description: description:
- Base URI of iDRAC - Base URI of iDRAC.
type: str type: str
username: username:
description: description:
- User for authentication with iDRAC - Username for authenticating to iDRAC.
type: str type: str
password: password:
description: description:
- Password for authentication with iDRAC - Password for authenticating to iDRAC.
type: str type: str
auth_token: auth_token:
description: description:
- Security token for authentication with OOB controller - Security token for authenticating to iDRAC.
type: str type: str
version_added: 2.3.0 version_added: 2.3.0
manager_attributes: manager_attributes:
required: false required: false
description: description:
- dictionary of iDRAC attribute name and value pairs to update - Dictionary of iDRAC attribute name and value pairs to update.
default: {} default: {}
type: 'dict' type: 'dict'
version_added: '0.2.0' version_added: '0.2.0'
timeout: timeout:
description: description:
- Timeout in seconds for URL requests to iDRAC controller - Timeout in seconds for HTTP requests to iDRAC.
default: 10 default: 10
type: int type: int
resource_id: resource_id:
required: false required: false
description: description:
- The ID of the System, Manager or Chassis to modify - ID of the System, Manager or Chassis to modify.
type: str type: str
version_added: '0.2.0' version_added: '0.2.0'

View file

@ -14,44 +14,44 @@ short_description: Gather PowerEdge server information through iDRAC using Redfi
description: description:
- Builds Redfish URIs locally and sends them to remote iDRAC controllers to - Builds Redfish URIs locally and sends them to remote iDRAC controllers to
get information back. get information back.
- For use with Dell EMC iDRAC operations that require Redfish OEM extensions - For use with Dell EMC iDRAC operations that require Redfish OEM extensions.
- This module was called C(idrac_redfish_facts) before Ansible 2.9, returning C(ansible_facts). - This module was called C(idrac_redfish_facts) before Ansible 2.9, returning C(ansible_facts).
Note that the M(community.general.idrac_redfish_info) module no longer returns C(ansible_facts)! Note that the M(community.general.idrac_redfish_info) module no longer returns C(ansible_facts)!
options: options:
category: category:
required: true required: true
description: description:
- Category to execute on iDRAC controller - Category to execute on iDRAC.
type: str type: str
command: command:
required: true required: true
description: description:
- List of commands to execute on iDRAC controller - List of commands to execute on iDRAC.
- C(GetManagerAttributes) returns the list of dicts containing iDRAC, - C(GetManagerAttributes) returns the list of dicts containing iDRAC,
LifecycleController and System attributes LifecycleController and System attributes.
type: list type: list
elements: str elements: str
baseuri: baseuri:
required: true required: true
description: description:
- Base URI of iDRAC controller - Base URI of iDRAC.
type: str type: str
username: username:
description: description:
- User for authentication with iDRAC controller - Username for authenticating to iDRAC.
type: str type: str
password: password:
description: description:
- Password for authentication with iDRAC controller - Password for authenticating to iDRAC.
type: str type: str
auth_token: auth_token:
description: description:
- Security token for authentication with OOB controller - Security token for authenticating to iDRAC.
type: str type: str
version_added: 2.3.0 version_added: 2.3.0
timeout: timeout:
description: description:
- Timeout in seconds for URL requests to OOB controller - Timeout in seconds for HTTP requests to iDRAC.
default: 10 default: 10
type: int type: int

View file

@ -34,19 +34,19 @@ options:
type: str type: str
username: username:
description: description:
- User for authentication with iLO. - Username for authenticating to iLO.
type: str type: str
password: password:
description: description:
- Password for authentication with iLO. - Password for authenticating to iLO.
type: str type: str
auth_token: auth_token:
description: description:
- Security token for authentication with OOB controller. - Security token for authenticating to iLO.
type: str type: str
timeout: timeout:
description: description:
- Timeout in seconds for URL requests to iLO controller. - Timeout in seconds for HTTP requests to iLO.
default: 10 default: 10
type: int type: int
attribute_name: attribute_name:

View file

@ -34,19 +34,19 @@ options:
type: str type: str
username: username:
description: description:
- User for authentication with iLO. - Username for authenticating to iLO.
type: str type: str
password: password:
description: description:
- Password for authentication with iLO. - Password for authenticating to iLO.
type: str type: str
auth_token: auth_token:
description: description:
- Security token for authentication with iLO. - Security token for authenticating to iLO.
type: str type: str
timeout: timeout:
description: description:
- Timeout in seconds for URL requests to iLO. - Timeout in seconds for HTTP requests to iLO.
default: 10 default: 10
type: int type: int
author: author:

View file

@ -21,35 +21,35 @@ options:
category: category:
required: true required: true
description: description:
- Category to execute on OOB controller - Category to execute on OOB controller.
type: str type: str
command: command:
required: true required: true
description: description:
- List of commands to execute on OOB controller - List of commands to execute on OOB controller.
type: list type: list
elements: str elements: str
baseuri: baseuri:
required: true required: true
description: description:
- Base URI of OOB controller - Base URI of OOB controller.
type: str type: str
username: username:
description: description:
- Username for authentication with OOB controller - Username for authenticating to OOB controller.
type: str type: str
password: password:
description: description:
- Password for authentication with OOB controller - Password for authenticating to OOB controller.
type: str type: str
auth_token: auth_token:
description: description:
- Security token for authentication with OOB controller - Security token for authenticating to OOB controller.
type: str type: str
version_added: 2.3.0 version_added: 2.3.0
session_uri: session_uri:
description: description:
- URI of the session resource - URI of the session resource.
type: str type: str
version_added: 2.3.0 version_added: 2.3.0
id: id:
@ -63,28 +63,28 @@ options:
required: false required: false
aliases: [ account_username ] aliases: [ account_username ]
description: description:
- Username of account to add/delete/modify - Username of account to add/delete/modify.
type: str type: str
new_password: new_password:
required: false required: false
aliases: [ account_password ] aliases: [ account_password ]
description: description:
- New password of account to add/modify - New password of account to add/modify.
type: str type: str
roleid: roleid:
required: false required: false
aliases: [ account_roleid ] aliases: [ account_roleid ]
description: description:
- Role of account to add/modify - Role of account to add/modify.
type: str type: str
bootdevice: bootdevice:
required: false required: false
description: description:
- bootdevice when setting boot configuration - Boot device when setting boot configuration.
type: str type: str
timeout: timeout:
description: description:
- Timeout in seconds for URL requests to OOB controller - Timeout in seconds for HTTP requests to OOB controller.
default: 10 default: 10
type: int type: int
boot_override_mode: boot_override_mode:
@ -96,117 +96,117 @@ options:
uefi_target: uefi_target:
required: false required: false
description: description:
- UEFI target when bootdevice is "UefiTarget" - UEFI boot target when bootdevice is "UefiTarget".
type: str type: str
boot_next: boot_next:
required: false required: false
description: description:
- BootNext target when bootdevice is "UefiBootNext" - BootNext target when bootdevice is "UefiBootNext".
type: str type: str
update_username: update_username:
required: false required: false
aliases: [ account_updatename ] aliases: [ account_updatename ]
description: description:
- new update user name for account_username - New user name for updating account_username.
type: str type: str
version_added: '0.2.0' version_added: '0.2.0'
account_properties: account_properties:
required: false required: false
description: description:
- properties of account service to update - Properties of account service to update.
type: dict type: dict
version_added: '0.2.0' version_added: '0.2.0'
resource_id: resource_id:
required: false required: false
description: description:
- The ID of the System, Manager or Chassis to modify - ID of the System, Manager or Chassis to modify.
type: str type: str
version_added: '0.2.0' version_added: '0.2.0'
update_image_uri: update_image_uri:
required: false required: false
description: description:
- The URI of the image for the update - URI of the image for the update.
type: str type: str
version_added: '0.2.0' version_added: '0.2.0'
update_protocol: update_protocol:
required: false required: false
description: description:
- The protocol for the update - Protocol for the update.
type: str type: str
version_added: '0.2.0' version_added: '0.2.0'
update_targets: update_targets:
required: false required: false
description: description:
- The list of target resource URIs to apply the update to - List of target resource URIs to apply the update to.
type: list type: list
elements: str elements: str
version_added: '0.2.0' version_added: '0.2.0'
update_creds: update_creds:
required: false required: false
description: description:
- The credentials for retrieving the update image - Credentials for retrieving the update image.
type: dict type: dict
version_added: '0.2.0' version_added: '0.2.0'
suboptions: suboptions:
username: username:
required: false required: false
description: description:
- The username for retrieving the update image - Username for retrieving the update image.
type: str type: str
password: password:
required: false required: false
description: description:
- The password for retrieving the update image - Password for retrieving the update image.
type: str type: str
virtual_media: virtual_media:
required: false required: false
description: description:
- The options for VirtualMedia commands - Options for VirtualMedia commands.
type: dict type: dict
version_added: '0.2.0' version_added: '0.2.0'
suboptions: suboptions:
media_types: media_types:
required: false required: false
description: description:
- The list of media types appropriate for the image - List of media types appropriate for the image.
type: list type: list
elements: str elements: str
image_url: image_url:
required: false required: false
description: description:
- The URL of the image to insert or eject - URL of the image to insert or eject.
type: str type: str
inserted: inserted:
required: false required: false
description: description:
- Indicates if the image is treated as inserted on command completion - Indicates that the image is treated as inserted on command completion.
type: bool type: bool
default: True default: True
write_protected: write_protected:
required: false required: false
description: description:
- Indicates if the media is treated as write-protected - Indicates that the media is treated as write-protected.
type: bool type: bool
default: True default: True
username: username:
required: false required: false
description: description:
- The username for accessing the image URL - Username for accessing the image URL.
type: str type: str
password: password:
required: false required: false
description: description:
- The password for accessing the image URL - Password for accessing the image URL.
type: str type: str
transfer_protocol_type: transfer_protocol_type:
required: false required: false
description: description:
- The network protocol to use with the image - Network protocol to use with the image.
type: str type: str
transfer_method: transfer_method:
required: false required: false
description: description:
- The transfer method to use with the image - Transfer method to use with the image.
type: str type: str
strip_etag_quotes: strip_etag_quotes:
description: description:

View file

@ -20,48 +20,48 @@ options:
category: category:
required: true required: true
description: description:
- Category to execute on OOB controller - Category to execute on OOB controller.
type: str type: str
command: command:
required: true required: true
description: description:
- List of commands to execute on OOB controller - List of commands to execute on OOB controller.
type: list type: list
elements: str elements: str
baseuri: baseuri:
required: true required: true
description: description:
- Base URI of OOB controller - Base URI of OOB controller.
type: str type: str
username: username:
description: description:
- User for authentication with OOB controller - Username for authenticating to OOB controller.
type: str type: str
password: password:
description: description:
- Password for authentication with OOB controller - Password for authenticating to OOB controller.
type: str type: str
auth_token: auth_token:
description: description:
- Security token for authentication with OOB controller - Security token for authenticating to OOB controller.
type: str type: str
version_added: 2.3.0 version_added: 2.3.0
bios_attributes: bios_attributes:
required: false required: false
description: description:
- dictionary of BIOS attributes to update - Dictionary of BIOS attributes to update.
default: {} default: {}
type: dict type: dict
version_added: '0.2.0' version_added: '0.2.0'
timeout: timeout:
description: description:
- Timeout in seconds for URL requests to OOB controller - Timeout in seconds for HTTP requests to OOB controller.
default: 10 default: 10
type: int type: int
boot_order: boot_order:
required: false required: false
description: description:
- list of BootOptionReference strings specifying the BootOrder - List of BootOptionReference strings specifying the BootOrder.
default: [] default: []
type: list type: list
elements: str elements: str
@ -69,26 +69,26 @@ options:
network_protocols: network_protocols:
required: false required: false
description: description:
- setting dict of manager services to update - Setting dict of manager services to update.
type: dict type: dict
version_added: '0.2.0' version_added: '0.2.0'
resource_id: resource_id:
required: false required: false
description: description:
- The ID of the System, Manager or Chassis to modify - ID of the System, Manager or Chassis to modify.
type: str type: str
version_added: '0.2.0' version_added: '0.2.0'
nic_addr: nic_addr:
required: false required: false
description: description:
- EthernetInterface Address string on OOB controller - EthernetInterface Address string on OOB controller.
default: 'null' default: 'null'
type: str type: str
version_added: '0.2.0' version_added: '0.2.0'
nic_config: nic_config:
required: false required: false
description: description:
- setting dict of EthernetInterface on OOB controller - Setting dict of EthernetInterface on OOB controller.
type: dict type: dict
version_added: '0.2.0' version_added: '0.2.0'
strip_etag_quotes: strip_etag_quotes:

View file

@ -21,37 +21,37 @@ options:
category: category:
required: false required: false
description: description:
- List of categories to execute on OOB controller - List of categories to execute on OOB controller.
default: ['Systems'] default: ['Systems']
type: list type: list
elements: str elements: str
command: command:
required: false required: false
description: description:
- List of commands to execute on OOB controller - List of commands to execute on OOB controller.
type: list type: list
elements: str elements: str
baseuri: baseuri:
required: true required: true
description: description:
- Base URI of OOB controller - Base URI of OOB controller.
type: str type: str
username: username:
description: description:
- User for authentication with OOB controller - Username for authenticating to OOB controller.
type: str type: str
password: password:
description: description:
- Password for authentication with OOB controller - Password for authenticating to OOB controller.
type: str type: str
auth_token: auth_token:
description: description:
- Security token for authentication with OOB controller - Security token for authenticating to OOB controller.
type: str type: str
version_added: 2.3.0 version_added: 2.3.0
timeout: timeout:
description: description:
- Timeout in seconds for URL requests to OOB controller - Timeout in seconds for HTTP requests to OOB controller.
default: 10 default: 10
type: int type: int