xezpeleta/Ansible-Proxmox-inventory

Invalid empty/false group named provided

Closed this issue · 1 comments

OS name based group creation fails ( PR #36 ) when Qemu returns a empty string:

$ ansible -i /etc/ansible/proxmox.py all -m ping -u root
[WARNING]:  * Failed to parse /etc/ansible/proxmox.py with script plugin: Invalid empty/false group
name provided:
[WARNING]:  * Failed to parse /etc/ansible/proxmox.py with ini plugin: /etc/ansible/proxmox.py:28:
Expected key=value host variable assignment, got: six.moves.urllib
[WARNING]: Unable to parse /etc/ansible/proxmox.py as an inventory source
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit
localhost does not match 'all'

Has been fixed by d7b0139