purestorage.flashblade.purefb_snmp_agent (1.17.0) — module

Configure the FlashBlade SNMP Agent

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

Configure the management SNMP Agent on a Pure Storage FlashBlade.

This module is not idempotent and will always modify the existing management SNMP agent due to hidden parameters that cannot be compared to the play parameters.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Update v2c SNMP agent
  purestorage.flashblade.purefb_snmp_agent:
    community: public
    fb_url: 10.10.10.2
    api_token: T-9f276a18-50ab-446e-8a0c-666a3529a1b6
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Update v3 SNMP agent
  purestorage.flashblade.purefb_snmp_agent:
    version: v3
    auth_protocol: MD5
    auth_passphrase: password
    fb_url: 10.10.10.2
    api_token: T-9f276a18-50ab-446e-8a0c-666a3529a1b6

Inputs

    
user:
    description:
    - SNMP v3 only. User ID recognized by the specified SNMP agent. Must be between 1
      and 32 characters.
    type: str

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

version:
    choices:
    - v2c
    - v3
    description:
    - Version of SNMP protocol to use for the agent.
    type: str

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

community:
    description:
    - SNMP v2c only. Manager community ID. Between 1 and 32 characters long.
    type: str

auth_protocol:
    choices:
    - MD5
    - SHA
    description:
    - SNMP v3 only. Hash algorithm to use
    type: str

auth_passphrase:
    description:
    - SNMPv3 only. Passphrase of 8 - 32 characters.
    type: str

privacy_protocol:
    choices:
    - AES
    - DES
    description:
    - SNMP v3 only. Encryption protocol to use
    type: str

privacy_passphrase:
    description:
    - SNMPv3 only. Passphrase to encrypt SNMP messages. Must be between 8 and 63 non-space
      ASCII characters.
    type: str