mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fix nxos_vxlan_vtep_vni issue (#42183)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
parent
a197125954
commit
981c9f6a79
1 changed files with 6 additions and 5 deletions
|
@ -212,6 +212,7 @@ def state_present(module, existing, proposed, candidate):
|
|||
elif key == 'ingress-replication protocol' and value != existing_commands.get(key):
|
||||
evalue = existing_commands.get(key)
|
||||
dvalue = PARAM_TO_DEFAULT_KEYMAP.get('ingress_replication', 'default')
|
||||
if evalue:
|
||||
if value != dvalue:
|
||||
if evalue != dvalue:
|
||||
commands.append('no {0} {1}'.format(key, evalue))
|
||||
|
|
Loading…
Reference in a new issue