cisco / cisco.nxos / 7.0.0 / module / nxos_snmp_location
Removed in None
Reason:Updated modules released with more functionality | Alternative:nxos_snmp_server
(deprecated, removed after 2024-01-01) Manages SNMP location information.
| "added in version" 1.0.0 of cisco.nxos"
Authors: Jason Edelman (@jedelman8), Gabriele Gerbino (@GGabriele)
Install with ansible-galaxy collection install cisco.nxos:==7.0.0
collections: - name: cisco.nxos version: 7.0.0
Manages SNMP location configuration.
# ensure snmp location is configured - cisco.nxos.nxos_snmp_location: location: Test state: present
# ensure snmp location is not configured - cisco.nxos.nxos_snmp_location: location: Test state: absent
state: choices: - present - absent default: present description: - Manage the state of the resource. required: false type: str location: description: - Location information. required: true type: str
commands: description: commands sent to the device returned: always sample: - snmp-server location New_Test type: list