Note
This module is part of the cisco.nxos collection (version 9.4.0).
You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install cisco.nxos.
To use it in a playbook, specify: cisco.nxos.nxos_aaa_server.
New in cisco.nxos 1.0.0
Parameter | Comments |
|---|---|
deadtime string | Duration for which a non-reachable AAA server is skipped, in minutes or keyword ‘default. Range is 1-1440. Device default is 0. |
directed_request string | Enables direct authentication requests to AAA server or keyword ‘default’ Device default is disabled. Choices:
|
encrypt_type string | The state of encryption applied to the entered global key. O clear text, 7 encrypted. Type-6 encryption is not supported. Choices:
|
global_key string | Global AAA shared secret or keyword ‘default’. |
server_timeout string | Global AAA server timeout period, in seconds or keyword ‘default. Range is 1-60. Device default is 5. |
server_type string / required | The server type is either radius or tacacs. Choices:
|
state string | Manage the state of the resource. Choices:
|
Note
# 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
# 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
# Setting Global Key
- name: AAA Server Global Key
cisco.nxos.nxos_aaa_server:
server_type: radius
global_key: test_key
Common return values are documented here, the following are the fields unique to this module:
Key | Description |
|---|---|
commands list / elements=string | command sent to the device Returned: always Sample: |
© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/cisco/nxos/nxos_aaa_server_module.html