sw01 sys SNMPv2-MIB.sysDescr = Cisco IOS C2960S (C2960S-UNIVERSALK9-M) Version 12.2(55)SE7 RELEASE (fc1)
I'm able to configure the when to run only when - Cisco IOS C2960S found in the output
- debug: msg="{{ get_descriptions.content }}"
when: "'Cisco IOS C2960S' in get_descriptions.content"