community.general.onyx_aaa (0.1.1) — module

Configures AAA parameters

Authors: Sara Touqan (@sarato)

preview | supported by community

Install collection

Install with ansible-galaxy collection install community.general:==0.1.1


Add to requirements.yml

  collections:
    - name: community.general
      version: 0.1.1

Description

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

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: configures aaa
  onyx_aaa:
    tacacs_accounting_enabled: yes
    auth_default_user: monitor
    auth_order: local-only
    auth_fallback_enabled: false

Inputs

    
auth_order:
    choices:
    - local-only
    - remote-first
    - remote-only
    description:
    - Sets the order on how to handle remote to local user mappings.
    type: str

auth_default_user:
    choices:
    - admin
    - monitor
    description:
    - Sets local user default mapping.
    type: str

auth_fallback_enabled:
    description:
    - Enables/Disables fallback server-err option.
    type: bool

tacacs_accounting_enabled:
    description:
    - Configures accounting settings.
    type: bool

Outputs

commands:
  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 <user>
  - aaa authorization map order <order>
  - aaa authorization map fallback server-err
  - no aaa authorization map fallback server-err
  type: list