diff --git a/lib/ansible/plugins/inventory/kubevirt.py b/lib/ansible/plugins/inventory/kubevirt.py index 3d53ecfdba..52e239fcd7 100644 --- a/lib/ansible/plugins/inventory/kubevirt.py +++ b/lib/ansible/plugins/inventory/kubevirt.py @@ -254,10 +254,3 @@ class InventoryModule(K8sInventoryModule): if path.endswith(('kubevirt.yml', 'kubevirt.yaml')): return True return False - - def _sanitize_group_name(self, name): - """ Replace unsupported charactes in group name by underscore character """ - name = name.replace('/', '_') - name = name.replace('.', '_') - name = name.replace('-', '_') - return name