mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-21 09:51:27 -07:00
[PR #9393/84655b0d backport][stable-9] i[b-n]*.py: normalize docs (#9411)
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>
(cherry picked from commit 84655b0d0f
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
a66b9fc5c9
commit
4dd76284e9
25 changed files with 1036 additions and 1100 deletions
|
@ -10,52 +10,50 @@
|
|||
from __future__ import absolute_import, division, print_function
|
||||
__metaclass__ = type
|
||||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
DOCUMENTATION = r"""
|
||||
module: ibm_sa_vol
|
||||
short_description: Handle volumes on IBM Spectrum Accelerate Family storage systems
|
||||
|
||||
description:
|
||||
- "This module creates or deletes volumes to be used on IBM Spectrum Accelerate Family storage systems."
|
||||
|
||||
- This module creates or deletes volumes 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:
|
||||
vol:
|
||||
description:
|
||||
- Volume name.
|
||||
required: true
|
||||
type: str
|
||||
pool:
|
||||
description:
|
||||
- Volume pool.
|
||||
required: false
|
||||
type: str
|
||||
state:
|
||||
description:
|
||||
- Volume state.
|
||||
default: "present"
|
||||
choices: [ "present", "absent" ]
|
||||
type: str
|
||||
size:
|
||||
description:
|
||||
- Volume size.
|
||||
required: false
|
||||
type: str
|
||||
vol:
|
||||
description:
|
||||
- Volume name.
|
||||
required: true
|
||||
type: str
|
||||
pool:
|
||||
description:
|
||||
- Volume pool.
|
||||
required: false
|
||||
type: str
|
||||
state:
|
||||
description:
|
||||
- Volume state.
|
||||
default: "present"
|
||||
choices: ["present", "absent"]
|
||||
type: str
|
||||
size:
|
||||
description:
|
||||
- Volume size.
|
||||
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 a new volume.
|
||||
community.general.ibm_sa_vol:
|
||||
vol: volume_name
|
||||
|
@ -73,9 +71,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, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue