Note
This plugin is part of the hpe.nimble collection (version 1.1.3).
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
.
To use it in a playbook, specify: hpe.nimble.hpe_nimble_shelf
.
New in version 1.0.0: of hpe.nimble
The below requirements are needed on the host that executes this module.
Parameter | Choices/Defaults | Comments |
---|---|---|
accept_dedupe_impact boolean |
| 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. |
accept_foreign boolean |
| Accept the removal of data on the shelf disks and activate foreign shelf. |
activated boolean / required |
| Activated state for shelf or disk set means it is available to store date on. An activated shelf may not be deactivated. |
driveset integer | Driveset to activate. | |
force boolean |
| Forcibly activate shelf. |
host string / required | HPE Nimble Storage IP address. | |
last_request boolean |
| Indicates this is the last request in a series of shelf add requests. |
password string / required | HPE Nimble Storage password. | |
shelf_serial string / required | Serial number of shelf. | |
state string / required |
| The shelf operation. |
username string / required | HPE Nimble Storage user name. |
Note
check_mode
.- 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
© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/hpe/nimble/hpe_nimble_shelf_module.html