cisco.nxos.nxos_aaa_server (7.0.0) — module

Manages AAA server global configuration.

| "added in version" 1.0.0 of cisco.nxos"

Authors: Jason Edelman (@jedelman8)

Install collection

Install with ansible-galaxy collection install cisco.nxos:==7.0.0


Add to requirements.yml

  collections:
    - name: cisco.nxos
      version: 7.0.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
  cisco.nxos.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
  cisco.nxos.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
  cisco.nxos.nxos_aaa_server:
    server_type: radius
    global_key: test_key

Inputs

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

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.
    type: str

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

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

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.
    type: str

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

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

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