mellanox.onyx.onyx_aaa module – Configures AAA parameters
Note
This module is part of the mellanox.onyx collection (version 1.0.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 mellanox.onyx
.
To use it in a playbook, specify: mellanox.onyx.onyx_aaa
.
New in version 0.2.0: of mellanox.onyx
Synopsis
This module provides declarative management of AAA protocol params on Mellanox ONYX network devices.
Parameters
Parameter |
Comments |
---|---|
Sets local user default mapping. Choices:
|
|
Enables/Disables fallback server-err option. Choices:
|
|
Sets the order on how to handle remote to local user mappings. Choices:
|
|
Configures accounting settings. Choices:
|
Examples
- name: Configures aaa
onyx_aaa:
tacacs_accounting_enabled: yes
auth_default_user: monitor
auth_order: local-only
auth_fallback_enabled: false
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
The list of configuration mode commands to send to the device. Returned: always Sample: [“aaa accounting changes default stop-only tacacs+”, “no aaa accounting changes default stop-only tacacs+”, “aaa authorization map default-user \u003cuser\u003e”, “aaa authorization map order \u003corder\u003e”, “aaa authorization map fallback server-err”, “no aaa authorization map fallback server-err”] |
Authors
Sara Touqan (@sarato)