From b653a0f05eb255d9bb65421562a33398b574d484 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 18 Aug 2020 17:52:43 +0200 Subject: [PATCH] fix naming --- plugins/inventory/proxmox.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/inventory/proxmox.py b/plugins/inventory/proxmox.py index 8cfd757..0ea5b00 100644 --- a/plugins/inventory/proxmox.py +++ b/plugins/inventory/proxmox.py @@ -61,7 +61,7 @@ DOCUMENTATION = """ EXAMPLES = """ # proxmox.yml -plugin: community.general.proxmox +plugin: xoxys.general.proxmox server: pve.example.com user: admin@pve password: secure @@ -86,7 +86,7 @@ except ImportError: class InventoryModule(BaseInventoryPlugin): - NAME = "community.general.proxmox" + NAME = "xoxys.general.proxmox" def _auth(self): return ProxmoxAPI( @@ -187,7 +187,7 @@ class InventoryModule(BaseInventoryPlugin): raise AnsibleError("Proxmoxer API error: {0}".format(to_native(e))) # Merge QEMU and Containers lists from this node - instances = self._get_variables(qemu_list.copy(), "qemu") + instances = self._get_variables(qemu_list, "qemu").copy() instances.update(self._get_variables(container_list, "container")) for host in instances: