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 mellanox.onyx 0.2.0

Synopsis

  • This module provides declarative management of AAA protocol params on Mellanox ONYX network devices.

Parameters

Parameter

Comments

auth_default_user

string

Sets local user default mapping.

Choices:

  • "admin"

  • "monitor"

auth_fallback_enabled

boolean

Enables/Disables fallback server-err option.

Choices:

  • false

  • true

auth_order

string

Sets the order on how to handle remote to local user mappings.

Choices:

  • "local-only"

  • "remote-first"

  • "remote-only"

tacacs_accounting_enabled

boolean

Configures accounting settings.

Choices:

  • false

  • true

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

commands

list / elements=string

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 <user>", "aaa authorization map order <order>", "aaa authorization map fallback server-err", "no aaa authorization map fallback server-err"]

Authors

  • Sara Touqan (@sarato)