netapp_e_host - manage eseries hosts
New in version 2.2.
Synopsis
- Create, update, remove hosts on NetApp E-series storage arrays
Parameters
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. | |
group | the group you want the host to be a member of | |
host_type_index required | The index that maps to host type you wish to create. It is recommended to use the netapp_e_facts module to gather this information. Alternatively you can use the WSP portal to retrieve the information. | |
name required | If the host doesn't yet exist, the label to assign at creation time. If the hosts already exists, this is what is used to identify the host to apply any desired changes | |
ports | a list of of dictionaries of host ports you wish to associate with the newly created host | |
ssid required | The ID of the array to manage. This value must be unique for each array. | |
validate_certs | Default: yes | Should https certificates be validated? |
Examples
- name: Set Host Info netapp_e_host: ssid: "{{ ssid }}" api_url: "{{ netapp_api_url }}" api_username: "{{ netapp_api_username }}" api_password: "{{ netapp_api_password }}" name: "{{ host_name }}" host_type_index: "{{ host_type_index }}"
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
msg string | success | Success message Sample: The host has been created. |
Status
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
Author
- Kevin Hulquest (@hulquest)
Hint
If you notice any issues in this documentation you can edit this document to improve it.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.5/modules/netapp_e_host_module.html