diff --git a/plugins/module_utils/netbox_utils.py b/plugins/module_utils/netbox_utils.py index 71d13bc9c..4940bd347 100644 --- a/plugins/module_utils/netbox_utils.py +++ b/plugins/module_utils/netbox_utils.py @@ -1297,6 +1297,9 @@ def _normalize_data(self, data): if k == "mac_address": data[k] = v.upper() + if k == "position" and v == 0: + data[k] = None + # We need to assign the correct type for the assigned object so the user doesn't have to worry about this. # We determine it by whether or not they pass in a device or virtual_machine if data.get("assigned_object"):