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

Enable or Disable Pure Storage FlashArray Remote Assist

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

Authors: Pure Storage Ansible Team (@sdodsley) <pure-ansible-team@purestorage.com>

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

Enable or Disable Remote Assist for a Pure Storage FlashArray.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Enable Remote Assist port
  purefa_ra:
    fa_url: 10.10.10.2
    api_token: e31060a7-21fc-e277-6240-25983c6c4592
  register: result
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- debug:
    msg: "Remote Assist: {{ result['ra_info'] }}"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Disable Remote Assist port
  purefa_ra:
    state: disable
    fa_url: 10.10.10.2
    api_token: e31060a7-21fc-e277-6240-25983c6c4592

Inputs

    
state:
    choices:
    - enable
    - disable
    default: enable
    description:
    - Define state of remote assist
    - When set to I(enable) the RA port can be exposed using the I(debug) module.
    type: str

fa_url:
    description:
    - FlashArray management IPv4 address or Hostname.
    required: true
    type: str

api_token:
    description:
    - FlashArray API token for admin privileged user.
    required: true
    type: str