Documentation

netapp_e_host - manage eseries hosts

New in version 2.2.

Synopsis

  • Create, update, remove hosts on NetApp E-series storage arrays

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, for example https://prod-1.wahoo.acme.com/devmgr/v2.
api_username
yes
The username to authenticate with the SANtricity WebServices Proxy or embedded REST API.
group
no
the group you want the host to be a member of
host_type_index
yes
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
yes
If the host doesnt 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
no
a list of of dictionaries of host ports you wish to associate with the newly created host
ssid
yes
the id of the storage array you wish to act against
validate_certs
no True
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 Return Values, the following are the fields unique to this module:

name description returned type sample
msg Success message success string 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.

Support

This module is community maintained without core committer oversight.

For more information on what this means please read Module Support

For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Helping Testing PRs and Developing Modules.