mellanox.onyx.onyx_aaa – Configures AAA parameters

Note

This plugin is part of the mellanox.onyx collection (version 1.0.0).

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 Choices/Defaults Comments
auth_default_user
string
    Choices:
  • admin
  • monitor
Sets local user default mapping.
auth_fallback_enabled
boolean
    Choices:
  • no
  • yes
Enables/Disables fallback server-err option.
auth_order
string
    Choices:
  • local-only
  • remote-first
  • remote-only
Sets the order on how to handle remote to local user mappings.
tacacs_accounting_enabled
boolean
    Choices:
  • no
  • yes
Configures accounting settings.

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 Returned Description
commands
list / elements=string
always
The list of configuration mode commands to send to the device.

Sample:
['aaa accounting changes default stop-only tacacs+', 'no aaa accounting changes default stop-only tacacs+', 'aaa authorization map default-user <user>', 'aaa authorization map order <order>', 'aaa authorization map fallback server-err', 'no aaa authorization map fallback server-err']


Authors

  • Sara Touqan (@sarato)