purestorage.flashblade.purefb_inventory (1.17.0) — module

Collect information from Pure Storage 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

Collect information from a Pure Storage FlashBlade running the Purity//FB operating system. By default, the module will collect basic information including hosts, host groups, protection groups and volume counts. Additional information can be collected based on the configured set of arguements.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: collect FlashBlade inventory
  purestorage.flashblade.purefb_inventory:
    fa_url: 10.10.10.2
    api_token: e31060a7-21fc-e277-6240-25983c6c4592
  register: blade_info
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: show default information
  debug:
    msg: "{{ blade_info['purefb_info'] }}"

Inputs

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

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

Outputs

purefb_inventory:
  description: Returns the inventory information for the FlashBlade
  returned: always
  type: dict