diff --git a/plugins/module_utils/common.py b/plugins/module_utils/common.py index a41eed613..95bf6e160 100644 --- a/plugins/module_utils/common.py +++ b/plugins/module_utils/common.py @@ -265,7 +265,7 @@ def get_bindprimary_key(binding_name, binding_member): if bindprimary_key == "ip": if ( "ip" not in binding_member - or binding_member["ip"] == "0.0.0.0" # nosec: B104 + or binding_member["ip"] == "0.0.0.0" ): bindprimary_key = "servername" elif "servername" in binding_member and binding_member["servername"]: