mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02: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:
parent
c87efe1447
commit
15303b05ef
1 changed files with 1 additions and 1 deletions
|
@ -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'))
|
||||
|
||||
|
|
Loading…
Reference in a new issue