mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Fix snmp bugs on Nexus 3500 platform (#32773)
* Add n35 platform support * Fix regex bug and add snmp_location it tests * Enable nxos_snmp_location tests
This commit is contained in:
@@ -472,6 +472,16 @@
|
||||
- set_fact:
|
||||
failed_modules: "{{ failed_modules }} + [ 'nxos_snmp_community' ]"
|
||||
test_failed: true
|
||||
|
||||
- block:
|
||||
- include_role:
|
||||
name: nxos_snmp_location
|
||||
when: "limit_to in ['*', 'nxos_snmp_location']"
|
||||
rescue:
|
||||
- set_fact:
|
||||
failed_modules: "{{ failed_modules }} + [ 'nxos_snmp_location' ]"
|
||||
test_failed: true
|
||||
|
||||
###########
|
||||
- debug: var=failed_modules
|
||||
when: test_failed
|
||||
|
||||
Reference in New Issue
Block a user