diff --git a/lib/ansible/modules/network/nxos/nxos_igmp_snooping.py b/lib/ansible/modules/network/nxos/nxos_igmp_snooping.py index 1e11a9246d5..8b8ad6620af 100644 --- a/lib/ansible/modules/network/nxos/nxos_igmp_snooping.py +++ b/lib/ansible/modules/network/nxos/nxos_igmp_snooping.py @@ -537,6 +537,8 @@ def main(): changed = True execute_config_command(cmds, module) end_state = get_igmp_snooping(module) + if 'configure' in cmds: + cmds.pop(0) results['proposed'] = proposed results['existing'] = existing