Hey, 

I'm unable to run the inventory file for my project.  It's throwing up few 
errors. please help me out.

ansible-inventory2.9.27.post0
config file = / runner/project/ansible.cfg
configured module search path = ['/home/runner/.ansible/plugins/modules', 
'/usr/share/ansible/plugins/modules']
ansible python module location = 
/usr/local/lib/python3.8/site-packages/ansible
executable location = /usr/local/bin/ansible-inventorv
python version = 3.8.12 (default, Sep 21 2021, 00:10:52) [GCC 8.5.0 
20210514 (Red Hat 8.5.0-3) ]
Using /runner/project/ansible.cfg as config file
Reading vault password file: /runner/project/rheva/temp _vault. txt
setting up inventory plugins
host_list declined parsing /runner/project/rheva/test.py as it did not pass 
its verify file() method
script declined parsing /runner/project/rheva/test.py as it did not pass 
its verify_file() method
auto declined parsing /runner/project/rheva/test.py as it did not pass its 
verify_file() method
yaml declined parsing /runner/project/rheva/test.py as it did not pass its 
verify_file() method
toml declined parsing / runner/project/rheva/test.py as it did not pass its 
verify_file() method
[WARNING]: « Failed to parse /runner/project/rheva/test.py with ini plugin:
/runner/project/rheva/test.py:1: Expected key=value host variable 
assignment,
got: psycopg2
File 
"/usr/local/lib/python3.8/site-packages/ansible/inventory/manager.py",line 
280, in parse source
plugin. parse(self._inventory, self._loader, source, cache=cache)
File 
"/usr/local/lib/python3.8/site-packages/ansible/plugins/inventory/ini.py",line 
138, in parse
raise AnsibleParserError(e)
[WARNING]: Unable to parse /runner/proiect/rheva/test.py as an inventory 
source
ERROR! No inventory was parsed, please check your configuration and options.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/4b7f8335-6cba-4916-94f3-c8504fedcc14n%40googlegroups.com.

Reply via email to