mellanox.onyx.onyx_snmp_users – Configures SNMP User 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_snmp_users
.
New in version 0.2.0: of mellanox.onyx
Synopsis¶
This module provides declarative management of SNMP Users protocol params on Mellanox ONYX network devices.
Parameters¶
Examples¶
- name: Enables snmp user
onyx_snmp_users:
users:
- name: sara
enabled: true
- name: Enables snmp set requests
onyx_snmp_users:
users:
- name: sara
set_access_enabled: yes
- name: Enables user require privacy
onyx_snmp_users:
users:
- name: sara
require_privacy: true
- name: Configures user hash type
onyx_snmp_users:
users:
- auth_type: md5
auth_password: 1297sara1234sara
- name: Configures user capability_level
onyx_snmp_users:
users:
- name: sara
capability_level: admin
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Sara Touqan (@sarato)