ansible / ansible.builtin / v2.3.3.0-1 / module / netapp_e_host manage eseries hosts | "added in version" 2.2 of ansible.builtin" Authors: Kevin Hulquest (@hulquest) preview | supported by communityansible.builtin.netapp_e_host (v2.3.3.0-1) — module
pip
Install with pip install ansible==2.3.3.0.post1
Create, update, remove hosts on NetApp E-series storage arrays
- 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 }}"
name: description: - 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 required: true ssid: description: - the id of the storage array you wish to act against required: true group: description: - the group you want the host to be a member of required: false ports: description: - a list of of dictionaries of host ports you wish to associate with the newly created host required: false api_url: description: - The url to the SANtricity WebServices Proxy or embedded REST API, for example C(https://prod-1.wahoo.acme.com/devmgr/v2). required: true api_password: description: - The password to authenticate with the SANtricity WebServices Proxy or embedded REST API. required: true api_username: description: - The username to authenticate with the SANtricity WebServices Proxy or embedded REST API. required: true validate_certs: default: true description: - Should https certificates be validated? required: false host_type_index: description: - The index that maps to host type you wish to create. It is recommended to use the M(netapp_e_facts) module to gather this information. Alternatively you can use the WSP portal to retrieve the information. required: true
msg: description: Success message returned: success sample: The host has been created. type: string