mellanox.onyx.onyx_aaa – Configures AAA parameters

Note

This plugin 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

auth_default_user

string

Sets local user default mapping.

Choices:

  • admin

  • monitor

auth_fallback_enabled

boolean

Enables/Disables fallback server-err option.

Choices:

  • no

  • yes

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:

  • no

  • yes

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 \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)