community.general.netapp_e_storage_system (0.1.1) — module

NetApp E-Series Web Services Proxy manage storage arrays

Authors: Kevin Hulquest (@hulquest)

preview | supported by community

Install collection

Install with ansible-galaxy collection install community.general:==0.1.1


Add to requirements.yml

  collections:
    - name: community.general
      version: 0.1.1

Description

Manage the arrays accessible via a NetApp Web Services Proxy for NetApp E-series storage arrays.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
---
    - name:  Presence of storage system
      netapp_e_storage_system:
        ssid: "{{ item.key }}"
        state: present
        api_url: "{{ netapp_api_url }}"
        api_username: "{{ netapp_api_username }}"
        api_password: "{{ netapp_api_password }}"
        validate_certs: "{{ netapp_api_validate_certs }}"
        controller_addresses:
          - "{{ item.value.address1 }}"
          - "{{ item.value.address2 }}"
      with_dict: "{{ storage_systems }}"
      when: check_storage_system

Inputs

    
ssid:
    description:
    - The ID of the array to manage. This value must be unique for each array.
    required: true

state:
    choices:
    - present
    - absent
    description:
    - Whether the specified array should be configured on the Web Services Proxy or not.
    required: true

api_url:
    description:
    - The url to the SANtricity WebServices Proxy or embedded REST API.
    required: true

array_wwn:
    description:
    - The WWN of the array to manage. Only necessary if in-band managing multiple arrays
      on the same agent host.  Mutually exclusive of controller_addresses parameter.

meta_tags:
    description:
    - Optional meta tags to associate to this storage system

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

enable_trace:
    default: 'no'
    description:
    - Enable trace logging for SYMbol calls to the storage system.
    type: bool

array_password:
    description:
    - The management password of the array to manage, if set.

validate_certs:
    default: 'yes'
    description:
    - Should https certificates be validated?
    type: bool

controller_addresses:
    description:
    - The list addresses for the out-of-band management adapter or the agent host. Mutually
      exclusive of array_wwn parameter.
    required: true

Outputs

msg:
  description: State of request
  returned: always
  sample: Storage system removed.
  type: str