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.
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 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
no
a list of of dictionaries of host ports you wish to associate with the newly created host
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: 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.

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_host_module.html