haught.apcos.apcos_snmpv3 (1.2.2) — module

Manage snmpv3 configuration on APC OS devices.

Authors: Matt Haught (@haught)

Install collection

Install with ansible-galaxy collection install haught.apcos:==1.2.2


Add to requirements.yml

  collections:
    - name: haught.apcos
      version: 1.2.2

Description

This module provides declarative management of APC snmpv3 configuration on APC UPS NMC systems.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set snmpv3 name
  haught.apcos.apcos_snmpv3:
    primarysnmpv3: "1.1.1.1"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set two snmpv3 settings
  haught.apcos.apcos_snmpv3:
    primarysnmpv3: "1.1.1.1"
    secondarysnmpv3: "4.4.4.4"

Inputs

    
index:
    choices:
    - 1
    - 2
    - 3
    - 4
    description:
    - Index of SNMPv3 user.
    type: int

access:
    description:
    - SNMPv3 access enable for index.
    type: bool

enable:
    description:
    - Global SNMPv3 enable.
    type: bool

username:
    description:
    - SNMPv3 user name for index.
    type: str

authphrase:
    description:
    - SNMPv3 authentication phrase for index.
    type: str

privphrase:
    description:
    - SNMPv3 privacy phrase for index.
    type: str

authprotocol:
    choices:
    - SHA
    - MD5
    - NONE
    description:
    - SNMPv3 authentication protocol for index.
    type: str

privprotocol:
    choices:
    - AES
    - DES
    - NONE
    description:
    - SNMPv3 privacy protocol for index.
    type: str

accessaddress:
    description:
    - SNMPv3 NMS IP/CIDR address for index.
    type: str

forcepwchange:
    default: false
    description:
    - Force a auth/priv phrase change
    type: bool

accessusername:
    description:
    - SNMPv3 access user name for index.
    type: str

Outputs

commands:
  description: The list of configuration mode commands to send to the device
  returned: always
  sample:
  - snmpv3 -n ups001
  type: list