- Docs »
- netapp_e_storage_system - Add/remove arrays from the Web Services Proxy
-
You are reading an unmaintained version of the Ansible documentation. Unmaintained Ansible versions can contain unfixed security vulnerabilities (CVE). Please upgrade to a maintained version. See the latest Ansible documentation.
netapp_e_storage_system - Add/remove arrays from the Web Services Proxy
- Manage the arrays accessible via a NetApp Web Services Proxy for NetApp E-series storage arrays.
Parameter |
Choices/Defaults |
Comments |
api_password
required |
|
The password to authenticate with the SANtricity WebServices Proxy or embedded REST API.
|
api_url
required |
|
The url to the SANtricity WebServices Proxy or embedded REST API.
|
api_username
required |
|
The username to authenticate with the SANtricity WebServices Proxy or embedded REST API.
|
array_password
|
|
The management password of the array to manage, if set.
|
array_wwn
|
|
The WWN of the array to manage. Only necessary if in-band managing multiple arrays on the same agent host. Mutually exclusive of controller_addresses parameter.
|
controller_addresses
required |
|
The list addresses for the out-of-band management adapter or the agent host. Mutually exclusive of array_wwn parameter.
|
enable_trace
bool |
|
Enable trace logging for SYMbol calls to the storage system.
|
meta_tags
|
|
Optional meta tags to associate to this storage system
|
ssid
required |
|
The ID of the array to manage. This value must be unique for each array.
|
state
required |
|
Whether the specified array should be configured on the Web Services Proxy or not.
|
validate_certs
bool |
|
Should https certificates be validated?
|
---
- name: Presence of storage system
netapp_e_storage_system:
ssid: "{{ item.key }}"
state: present
api_url: "{{ netapp_api_url }}"
api_username: "{{ netapp_api_username }}"
api_password: "{{ netapp_api_password }}"
validate_certs: "{{ netapp_api_validate_certs }}"
controller_addresses:
- "{{ item.value.address1 }}"
- "{{ item.value.address2 }}"
with_dict: "{{ storage_systems }}"
when: check_storage_system
Common return values are documented here, the following are the fields unique to this module:
Key |
Returned |
Description |
msg
string
|
always |
State of request
Sample:
Storage system removed.
|
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
This module is flagged as community which means that it is maintained by the Ansible Community. See Module Maintenance & Support for more info.
For a list of other modules that are also maintained by the Ansible Community, see here.
- Kevin Hulquest (@hulquest)
Hint
If you notice any issues in this documentation you can edit this document to improve it.