purestorage.flashblade.purefb_fs_replica (1.17.0) — module

Manage filesystem replica links between Pure Storage FlashBlades

| "added in version" 1.0.0 of purestorage.flashblade"

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

preview | supported by community

Install collection

Install with ansible-galaxy collection install purestorage.flashblade:==1.17.0


Add to requirements.yml

  collections:
    - name: purestorage.flashblade
      version: 1.17.0

Description

This module manages filesystem replica links between Pure Storage FlashBlades.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create new filesystem replica from foo to bar on arrayB
  purestorage.flashblade.purefb_fs_replica:
    name: foo
    target_array: arrayB
    target_fs: bar
    policy: daily
    state: present
    fb_url: 10.10.10.2
    api_token: T-55a68eb5-c785-4720-a2ca-8b03903bf641
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Add new snapshot policy to exisitng filesystem replica link
  purestorage.flashblade.purefb_fs_replica:
    name: foo
    policy: weekly
    fb_url: 10.10.10.2
    api_token: T-55a68eb5-c785-4720-a2ca-8b03903bf641
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Delete snapshot policy from filesystem replica foo
  purestorage.flashblade.purefb_fs_replica:
    name: foo
    policy: weekly
    state: absent
    fb_url: 10.10.10.2

Inputs

    
name:
    description:
    - Local Filesystem Name.
    required: true
    type: str

state:
    choices:
    - present
    - absent
    default: present
    description:
    - Creates or modifies a filesystem replica link
    required: false
    type: str

fb_url:
    description:
    - FlashBlade management IP address or Hostname.
    type: str

policy:
    description:
    - Name of filesystem snapshot policy to apply to the replica link.
    required: false
    type: str

api_token:
    description:
    - FlashBlade API token for admin privileged user.
    type: str

target_fs:
    description:
    - Name of target filesystem name
    - If not supplied, will default to I(name).
    required: false
    type: str

in_progress:
    default: false
    description:
    - Confirmation that you wish to delete a filesystem replica link
    - This may cancel any in-progress replication transfers)
    type: bool

target_array:
    description:
    - Remote array name to create replica on.
    required: false
    type: str