i[b-n]*.py: normalize docs (#9393)

* i[b-n]*.py: normalize docs

* Update plugins/modules/ilo_redfish_command.py

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

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
Alexei Znamensky 2024-12-27 09:52:26 +13:00 committed by GitHub
parent 61b2304f4d
commit 84655b0d0f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 1036 additions and 1100 deletions

View file

@ -10,62 +10,60 @@
from __future__ import absolute_import, division, print_function
__metaclass__ = type
DOCUMENTATION = '''
---
DOCUMENTATION = r"""
module: ibm_sa_pool
short_description: Handles pools on IBM Spectrum Accelerate Family storage systems
description:
- "This module creates or deletes pools to be used on IBM Spectrum Accelerate Family storage systems"
- This module creates or deletes pools to be used on IBM Spectrum Accelerate Family storage systems.
attributes:
check_mode:
support: none
diff_mode:
support: none
check_mode:
support: none
diff_mode:
support: none
options:
pool:
description:
- Pool name.
required: true
type: str
state:
description:
- Pool state.
default: "present"
choices: [ "present", "absent" ]
type: str
size:
description:
- Pool size in GB
required: false
type: str
snapshot_size:
description:
- Pool snapshot size in GB
required: false
type: str
domain:
description:
- Adds the pool to the specified domain.
required: false
type: str
perf_class:
description:
- Assigns a perf_class to the pool.
required: false
type: str
pool:
description:
- Pool name.
required: true
type: str
state:
description:
- Pool state.
default: "present"
choices: ["present", "absent"]
type: str
size:
description:
- Pool size in GB.
required: false
type: str
snapshot_size:
description:
- Pool snapshot size in GB.
required: false
type: str
domain:
description:
- Adds the pool to the specified domain.
required: false
type: str
perf_class:
description:
- Assigns a perf_class to the pool.
required: false
type: str
extends_documentation_fragment:
- community.general.ibm_storage
- community.general.attributes
author:
- Tzur Eliyahu (@tzure)
'''
- Tzur Eliyahu (@tzure)
"""
EXAMPLES = '''
EXAMPLES = r"""
- name: Create new pool.
community.general.ibm_sa_pool:
name: pool_name
@ -82,9 +80,9 @@ EXAMPLES = '''
username: admin
password: secret
endpoints: hostdev-system
'''
RETURN = '''
'''
"""
RETURN = r"""
"""
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.community.general.plugins.module_utils.ibm_sa_utils import execute_pyxcli_command, \