mellanox.onyx.onyx_username – Configure username module¶
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_username
.
New in version 0.2.0: of mellanox.onyx
Synopsis¶
This module provides declarative management of users/roles on Mellanox ONYX network devices.
Parameters¶
Examples¶
- name: Create new user
onyx_username:
username: anass
- name: Set the user full-name
onyx_username:
username: anass
full_name: anasshami
- name: Set the user encrypted password
onyx_username:
username: anass
password: 12345
encrypted_password: True
- name: Set the user capability
onyx_username:
username: anass
capability: monitor
- name: Reset the user capability
onyx_username:
username: anass
reset_capability: True
- name: Remove the user configuration
onyx_username:
username: anass
state: absent
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Anas Shami (@anass)