diff --git a/plugins/module_utils/netbox_ipam.py b/plugins/module_utils/netbox_ipam.py index 40bc0982..8d1b731f 100644 --- a/plugins/module_utils/netbox_ipam.py +++ b/plugins/module_utils/netbox_ipam.py @@ -206,7 +206,7 @@ def run(self): name = data.get("name") if self.endpoint == "ip_addresses": - if 'interface' in data: + if "interface" in data: data["assigned_object_id"] = data["interface"] data["assigned_object_type"] = "dcim.interface"