community.network.pn_user – CLI command to create/modify/delete user¶
Note
This plugin is part of the community.network collection (version 2.1.1).
To install it use: ansible-galaxy collection install community.network
.
To use it in a playbook, specify: community.network.pn_user
.
Synopsis¶
This module can be used to create a user and apply a role, update a user and delete a user.
Parameters¶
Examples¶
- name: Create user
community.network.pn_user:
pn_cliswitch: "sw01"
state: "present"
pn_scope: "fabric"
pn_password: "foo123"
pn_name: "foo"
- name: Delete user
community.network.pn_user:
pn_cliswitch: "sw01"
state: "absent"
pn_name: "foo"
- name: Modify user
community.network.pn_user:
pn_cliswitch: "sw01"
state: "update"
pn_password: "test1234"
pn_name: "foo"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Pluribus Networks (@rajaspachipulusu17)