community / community.general / 0.1.1 / module / pn_snmp_vacm CLI command to create/modify/delete snmp-vacm Authors: Pluribus Networks (@rajaspachipulusu17) preview | supported by communitycommunity.general.pn_snmp_vacm (0.1.1) — module
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
This module can be used to create View Access Control Models (VACM), modify VACM and delete VACM.
- name: create snmp vacm pn_snmp_vacm: pn_cliswitch: "sw01" state: "present" pn_user_name: "foo" pn_user_type: "rouser"
- name: update snmp vacm pn_snmp_vacm: pn_cliswitch: "sw01" state: "update" pn_user_name: "foo" pn_user_type: "rwuser"
- name: delete snmp vacm pn_snmp_vacm: pn_cliswitch: "sw01" state: "absent" pn_user_name: "foo"
state: choices: - present - absent - update description: - State the action to perform. Use C(present) to create snmp-vacm and C(absent) to delete snmp-vacm and C(update) to modify snmp-vacm. required: true type: str pn_auth: description: - authentication required. type: bool pn_priv: description: - privileges. type: bool pn_cliswitch: description: - Target switch to run the CLI on. required: false type: str pn_user_name: description: - SNMP administrator name. type: str pn_user_type: choices: - rouser - rwuser description: - SNMP user type. type: str pn_oid_restrict: description: - restrict OID. type: str
changed: description: indicates whether the CLI caused changes on the target. returned: always type: bool command: description: the CLI command run on the target node. returned: always type: str stderr: description: set of error responses from the snmp-vacm command. returned: on error type: list stdout: description: set of responses from the snmp-vacm command. returned: always type: list