diff --git a/plugins/modules/dcnm_interface.py b/plugins/modules/dcnm_interface.py index 881281558..88bdca107 100644 --- a/plugins/modules/dcnm_interface.py +++ b/plugins/modules/dcnm_interface.py @@ -3432,7 +3432,7 @@ def dcnm_intf_compare_elements( if (state == "replaced") or (state == "overridden"): # Special handling is required for mode 'mpls' loopback interfaces. # They will contain either of the following two read_only properties. - if k == 'DCI_ROUTING_PROTO' or k == 'DCI_ROUTING_TAG': + if k in ['DCI_ROUTING_PROTO', 'DCI_ROUTING_TAG']: return "copy_and_add" return "add"