purestorage.flashblade.purefb_hardware (1.17.0) — module

Manage FlashBlade Hardware

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

Enable or disable FlashBlade visual identification lights and set connector parameters


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set connector to be 4 x 40Gb ports
  purestorage.flashblade.purefb_hardware:
    name: "CH1.FM1.ETH1"
    speed: 40
    ports: 4
    fb_url: 10.10.10.2
    api_token: T-68618f31-0c9e-4e57-aa44-5306a2cf10e3
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Enable identification LED
  purestorage.flashblade.purefb_hardware:
    name: "CH1.FB1"
    enabled: True
    fb_url: 10.10.10.2
    api_token: T-68618f31-0c9e-4e57-aa44-5306a2cf10e3
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Disable identification LED
  purestorage.flashblade.purefb_hardware:
    name: "CH1.FB1"
    enabled: False
    fb_url: 10.10.10.2
    api_token: T-68618f31-0c9e-4e57-aa44-5306a2cf10e3

Inputs

    
name:
    description:
    - Name of hardware component
    required: true
    type: str

ports:
    choices:
    - 1
    - 4
    description:
    - If the component specificed is a connector, the number of configured ports in the
      connector
    type: int

speed:
    choices:
    - 10
    - 25
    - 40
    description:
    - If the component specified is a connector, set the configured speed of each lane
      in the connector in gigabits-per-second
    type: int

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

enabled:
    description:
    - State of the component identification LED
    type: bool

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