Skip to content

Commit

Permalink
Change from username to user
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSuicideParrot committed Dec 23, 2021
1 parent 48f5dfd commit 7910a04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace: mrsuicideparrot
name: proxmox_plugin
version: 0.0.1
version: 0.0.2
readme: README.md
authors:
- André Cirne
Expand Down
6 changes: 3 additions & 3 deletions plugins/inventory/inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import re

ANSIBLE_METADATA = {
'metadata_version': '0.0.1',
'metadata_version': '0.0.2',
'status': ['preview'],
'supported_by': 'community'
}
Expand All @@ -39,7 +39,7 @@
required: True
env:
- name: PROXMOX_URL
username:
user:
description: proxmox authentication user
type: str
required: True
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 7910a04

Please sign in to comment.