ansible.builtin.nxos_aaa_server (v2.9.0) — module

Manages AAA server global configuration.

| "added in version" 2.2 of ansible.builtin"

Authors: Jason Edelman (@jedelman8)

preview | supported by network

Install Ansible via pip

Install with pip install ansible==2.9.0

Description

Manages AAA server global configuration

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Radius Server Basic settings
  - name: "Radius Server Basic settings"
    nxos_aaa_server:
        server_type: radius
        server_timeout: 9
        deadtime: 20
        directed_request: enabled
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Tacacs Server Basic settings
  - name: "Tacacs Server Basic settings"
    nxos_aaa_server:
        server_type: tacacs
        server_timeout: 8
        deadtime: 19
        directed_request: disabled
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Setting Global Key
  - name: "AAA Server Global Key"
    nxos_aaa_server:
        server_type: radius
        global_key: test_key

Inputs

    
state:
    choices:
    - present
    - default
    default: present
    description:
    - Manage the state of the resource.

deadtime:
    description:
    - Duration for which a non-reachable AAA server is skipped, in minutes or keyword
      'default. Range is 1-1440. Device default is 0.

global_key:
    description:
    - Global AAA shared secret or keyword 'default'.

server_type:
    choices:
    - radius
    - tacacs
    description:
    - The server type is either radius or tacacs.
    required: true

encrypt_type:
    choices:
    - '0'
    - '7'
    description:
    - The state of encryption applied to the entered global key. O clear text, 7 encrypted.
      Type-6 encryption is not supported.

server_timeout:
    description:
    - Global AAA server timeout period, in seconds or keyword 'default. Range is 1-60.
      Device default is 5.

directed_request:
    choices:
    - enabled
    - disabled
    description:
    - Enables direct authentication requests to AAA server or keyword 'default' Device
      default is disabled.

Outputs

commands:
  description: command sent to the device
  returned: always
  sample:
  - radius-server deadtime 22
  - radius-server timeout 11
  - radius-server directed-request
  type: list