mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
nxos_vxlan_vtep: sanity.yaml test needs cast for httpapi tcam check (#53531)
This check was working for network_cli (returns value as int) but failing for httpapi (returns value as str). Casting to int fixes the problem.
This commit is contained in:
committed by
Trishna Guha
parent
c87efe1447
commit
15303b05ef
@@ -31,7 +31,7 @@
|
||||
- block:
|
||||
- set_fact: global_suppress_arp="true"
|
||||
- set_fact: def_global_suppress_arp="false"
|
||||
when: tcam_state.stdout[0] != 0
|
||||
when: "tcam_state.stdout[0]|int > 0"
|
||||
|
||||
when: platform is search('N9K') and (major_version is version('9.2', 'ge'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user