ncstate.network.apcos_radius (1.1.3) — module

Manage radius configuration on APC OS devices.

Authors: Matt Haught (@haught)

Install collection

Install with ansible-galaxy collection install ncstate.network:==1.1.3


Add to requirements.yml

  collections:
    - name: ncstate.network
      version: 1.1.3

Description

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

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set radius name
  ncstate.network.apcos_radius:
    primaryip: "10.1.1.1"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set two radius settings
  ncstate.network.apcos_radius:
    primaryip: "10.1.1.1"
    secondaryip: "10.4.4.4"

Inputs

    
access:
    choices:
    - local
    - radiuslocal
    - radius
    description:
    - Authentication type of local, radiuslocal, and radius. A value of "local" disables
      radius, while "radiuslocal" tries radius first and then falls back to local, and
      "radius" only authenticates to radius.
    type: str

primaryport:
    description:
    - Primary radius server port.
    type: int

forcepwchange:
    default: false
    description:
    - Force a password change
    type: bool

primarysecret:
    description:
    - Primary radius authentication shared secret.
    type: str

primaryserver:
    description:
    - Primary radius server ip.
    type: str

secondaryport:
    description:
    - Secondary radius server port.
    type: int

primarytimeout:
    description:
    - Primary radius authentication timeout.
    type: int

secondarysecret:
    description:
    - Secondary radius authentication shared secret.
    type: str

secondaryserver:
    description:
    - Secondary radius server ip.
    type: str

secondarytimeout:
    description:
    - Secondary radius authentication timeout.
    type: int

Outputs

commands:
  description: The list of configuration mode commands to send to the device
  returned: always
  sample:
  - radius -a radiuslocal
  type: list