hpe.nimble.hpe_nimble_shelf module – Manage the HPE Nimble Storage shelves
Note
This module is part of the hpe.nimble collection (version 1.1.4).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install hpe.nimble
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: hpe.nimble.hpe_nimble_shelf
.
Note
The hpe.nimble collection is considered unmaintained and will be removed from Ansible 10. See the discussion thread for more information.
New in hpe.nimble 1.0.0
Synopsis
Manage the shelves on an HPE Nimble Storage group.
Requirements
The below requirements are needed on the host that executes this module.
Ansible 2.9 or later
Python 3.6 or later
HPE Nimble Storage SDK for Python
HPE Nimble Storage arrays running NimbleOS 5.0 or later
Parameters
Parameter |
Comments |
---|---|
Accept the reduction or elimination of deduplication capability on the system as a result of activating a shelf that does not meet the necessary deduplication requirements. Choices:
|
|
Accept the removal of data on the shelf disks and activate foreign shelf. Choices:
|
|
Activated state for shelf or disk set means it is available to store date on. An activated shelf may not be deactivated. Choices:
|
|
Driveset to activate. |
|
Forcibly activate shelf. Choices:
|
|
HPE Nimble Storage IP address. |
|
Indicates this is the last request in a series of shelf add requests. Choices:
|
|
HPE Nimble Storage password. |
|
Serial number of shelf. |
|
The shelf operation. Choices:
|
|
HPE Nimble Storage user name. |
Notes
Note
This module does not support
check_mode
.
Examples
- name: Update shelf
hpe.nimble.hpe_nimble_shelf:
host: "{{ host }}"
username: "{{ username }}"
password: "{{ password }}"
shelf_serial: "{{ shelf_serial | mandatory }}"
accept_foreign: "{{ accept_foreign }}"
force: "{{ force }}"
activated: "{{ activated }}"
state: present