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

Manage replication connections between two FlashArrays

| "added in version" 2.9 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

Manage array connections to specified target array


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create an async connection to remote array
  purefa_connect:
    target_url: 10.10.10.20
    target_api:
    connection: async
    fa_url: 10.10.10.2
    api_token: e31060a7-21fc-e277-6240-25983c6c4592
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Delete connection to remote array
  purefa_connect:
    state: absent
    target_url: 10.10.10.20
    fa_url: 10.10.10.2
    api_token: e31060a7-21fc-e277-6240-25983c6c4592

Inputs

    
state:
    choices:
    - absent
    - present
    default: present
    description:
    - Create or delete array connection
    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

connection:
    choices:
    - sync
    - async
    default: async
    description: Type of connection between arrays.
    type: str

target_api:
    description:
    - API token for target array
    type: str

target_url:
    description:
    - Management IP address of remote array.
    required: true
    type: str