purestorage.flashblade.purefb_target (1.17.0) — module

Manage remote S3-capable targets for a FlashBlade

| "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

Manage remote S3-capable targets for a FlashBlade system

Use this for non-FlashBlade targets.

Use I(purestorage.flashblade.purefb_connect) for FlashBlade targets.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create a connection to remote S3-capable target
  purestorage.flashblade.purefb_target:
    name: target_1
    address: 10.10.10.20
    fb_url: 10.10.10.2
    api_token: T-89faa581-c668-483d-b77d-23c5d88ba35c
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Delete connection to remote S3-capable system
  purestorage.flashblade.purefb_target:
    state: absent
    name: target_1
    target_api: 9c0b56bc-f941-f7a6-9f85-dcc3e9a8f7d6
    fb_url: 10.10.10.2
    api_token: T-89faa581-c668-483d-b77d-23c5d88ba35c

Inputs

    
name:
    description:
    - Name of S3-capable target (IP or FQDN)
    required: true
    type: str

state:
    choices:
    - absent
    - present
    default: present
    description:
    - Create or delete remote target
    type: str

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

address:
    description:
    - Address of S3-capable target (IP or FQDN)
    type: str

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