diff --git a/galaxy.yml b/galaxy.yml index 9ae140b..3436a28 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,6 +1,6 @@ namespace: mrsuicideparrot name: proxmox_plugin -version: 0.0.1 +version: 0.0.2 readme: README.md authors: - André Cirne diff --git a/plugins/inventory/inventory.py b/plugins/inventory/inventory.py index a60a2ee..6f81171 100644 --- a/plugins/inventory/inventory.py +++ b/plugins/inventory/inventory.py @@ -15,7 +15,7 @@ import re ANSIBLE_METADATA = { - 'metadata_version': '0.0.1', + 'metadata_version': '0.0.2', 'status': ['preview'], 'supported_by': 'community' } @@ -39,7 +39,7 @@ required: True env: - name: PROXMOX_URL - username: + user: description: proxmox authentication user type: str required: True @@ -306,7 +306,7 @@ def parse(self, inventory, loader, path, cache=None): self._read_config_data(path) - proxmoxInstance = ProxmoxAPI(self.get_option('url'), self.get_option('username'), self.get_option('password'), self.get_option('validate_certs')) + proxmoxInstance = ProxmoxAPI(self.get_option('url'), self.get_option('user'), self.get_option('password'), self.get_option('validate_certs')) for node in proxmoxInstance.nodes().get_names(): try: