On this page
netapp_e_facts - Get facts about NetApp E-Series arrays
New in version 2.2.
Synopsis
- Return various information about NetApp E-Series storage arrays (eg, configuration, disks)
Options
parameter | required | default | choices | comments |
---|---|---|---|---|
api_password |
yes |
The password to authenticate with the SANtricity WebServices Proxy or embedded REST API.
|
||
api_url |
yes |
The url to the SANtricity WebServices Proxy or embedded REST API.
|
||
api_username |
yes |
The username to authenticate with the SANtricity WebServices Proxy or embedded REST API.
|
||
ssid |
yes |
The ID of the array to manage. This value must be unique for each array.
|
||
validate_certs |
no | True |
Should https certificates be validated?
|
Examples
---
- name: Get array facts
netapp_e_facts:
array_id: "{{ netapp_array_id }}"
api_url: "{{ netapp_api_url }}"
api_username: "{{ netapp_api_username }}"
api_password: "{{ netapp_api_password }}"
validate_certs: "{{ netapp_api_validate_certs }}"
Return Values
Common return values are documented here Return Values, the following are the fields unique to this module:
name | description | returned | type | sample |
---|---|---|---|---|
msg |
Gathered facts for <StorageArrayId>.
|
always | string |
Status
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.4/netapp_e_facts_module.html