ansible / ansible.builtin / v2.5.10 / module / nxos_snmp_community Manages SNMP community configs. | "added in version" 2.2 of ansible.builtin" Authors: Jason Edelman (@jedelman8), Gabriele Gerbino (@GGabriele) preview | supported by networkansible.builtin.nxos_snmp_community (v2.5.10) — module
pip
Install with pip install ansible==2.5.10
Manages SNMP community configuration.
# ensure snmp community is configured - nxos_snmp_community: community: TESTING7 group: network-operator state: present
acl: description: - ACL name to filter snmp requests or keyword 'default'. group: description: - Group to which the community belongs. state: choices: - present - absent default: present description: - Manage the state of the resource. access: choices: - ro - rw description: - Access type for community. community: description: - Case-sensitive community string. required: true
commands: description: commands sent to the device returned: always sample: - snmp-server community TESTING7 group network-operator type: list