Hi all,
I have a little problem.
The vmware_inventory.py work for my dynamic inventory of vmware.
But when i try my playbook ping.yml , that not loads the inventory.
ansible-playbook ping.yml -i ‘/etc/ansible/modules/inventory/wmware/vmware_inventory.py’
I have this error:
[WARNING]: * Failed to parse /etc/ansible/modules/inventory/wmware/vmware_inventory.py with script plugin: problem running /etc/ansible/modules/inventory/wmware/vmware_inventory.py --list ([Errno 13]
Permission denied)
[WARNING]: * Failed to parse /etc/ansible/modules/inventory/wmware/vmware_inventory.py with ini plugin: /etc/ansible/modules/inventory/wmware/vmware_inventory.py:25: Error parsing host definition ‘“”"’:
No closing quotation
[WARNING]: Unable to parse /etc/ansible/modules/inventory/wmware/vmware_inventory.py as an inventory source
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: Could not match supplied host pattern, ignoring: all
[WARNING]: provided hosts list is empty, only localhost is available
Can you help me ?
Thx