ansible.builtin.netapp_e_flashcache (v2.9.27) — module

NetApp E-Series manage SSD caches

| "added in version" 2.2 of ansible.builtin"

Authors: Kevin Hulquest (@hulquest)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

Create or remove SSD caches on a NetApp E-Series storage array.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
    - name: Flash Cache
      netapp_e_flashcache:
        ssid: "{{ ssid }}"
        api_url: "{{ netapp_api_url }}"
        api_username: "{{ netapp_api_username }}"
        api_password: "{{ netapp_api_password }}"
        validate_certs: "{{ netapp_api_validate_certs }}"
        name: SSDCacheBuiltByAnsible

Inputs

    
name:
    description:
    - The name of the SSD cache to manage
    required: true

ssid:
    description:
    - The ID of the array to manage (as configured on the web services proxy).
    required: true

state:
    choices:
    - present
    - absent
    default: present
    description:
    - Whether the specified SSD cache should exist or not.
    required: true

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

io_type:
    choices:
    - filesystem
    - database
    - media
    default: filesystem
    description:
    - The type of workload to optimize the cache for.

size_unit:
    choices:
    - bytes
    - b
    - kb
    - mb
    - gb
    - tb
    - pb
    - eb
    - zb
    - yb
    default: gb
    description:
    - The unit to be applied to size arguments

disk_count:
    description:
    - The minimum number of disks to use for building the cache. The cache will be expanded
      if this number exceeds the number of disks already in place

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

cache_size_min:
    description:
    - The minimum size (in size_units) of the ssd cache. The cache will be expanded if
      this exceeds the current size of the cache.

validate_certs:
    default: true
    description:
    - Should https certificates be validated?
    required: false
    type: bool

Outputs

msg:
  description: Success message
  returned: success
  sample: json for newly created flash cache
  type: str