Hi Team,
I am using Ascender 25.4.0 and was trying to generate a Dynamic inventory for my Nutanix environment.
I have compile a custom EE with the Nutanix collection on it and created a custom credential type to accomodate the input of the host, username, password variables.
Once I try to sync the inventory source I am getting the following output in the job as it failed:
ansible-inventory [core 2.18.17]
config file = /runner/project/ansible.cfg
configured module search path = ['/runner/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/lib/python3.12/site-packages/ansible
ansible collection location = /runner/requirements_collections:/runner/.ansible/collections:/usr/share/ansible/collections:/usr/share/automation-controller/collections
executable location = /usr/local/bin/ansible-inventory
python version = 3.12.12 (main, Mar 9 2026, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-14)] (/usr/bin/python3.12)
jinja version = 3.1.6
libyaml = True
Using /runner/project/ansible.cfg as config file
setting up inventory plugins
Loading collection ansible.builtin from
toml declined parsing /runner/project/iaas.yml as it did not pass its verify_file() method
[WARNING]: * Failed to parse /runner/project/iaas.yml with auto plugin: no
root 'plugin' key found, '/runner/project/iaas.yml' is not a valid YAML
inventory plugin config file
File "/usr/local/lib/python3.12/site-packages/ansible/inventory/manager.py", line 292, in parse_source
plugin.parse(self._inventory, self._loader, source, cache=cache)
File "/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/auto.py", line 47, in parse
raise AnsibleParserError("no root 'plugin' key found, '{0}' is not a valid YAML inventory plugin config file".format(path))
[WARNING]: * Failed to parse /runner/project/iaas.yml with yaml plugin: YAML
inventory has invalid structure, it should be a dictionary, got: <class
'ansible.parsing.yaml.objects.AnsibleSequence'>
File "/usr/local/lib/python3.12/site-packages/ansible/inventory/manager.py", line 292, in parse_source
plugin.parse(self._inventory, self._loader, source, cache=cache)
File "/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/yaml.py", line 111, in parse
raise AnsibleParserError('YAML inventory has invalid structure, it should be a dictionary, got: %s' % type(data))
[WARNING]: * Failed to parse /runner/project/iaas.yml with ini plugin: Invalid
host pattern '---' supplied, '---' is normally a sign this is a YAML file.
File "/usr/local/lib/python3.12/site-packages/ansible/inventory/manager.py", line 292, in parse_source
plugin.parse(self._inventory, self._loader, source, cache=cache)
File "/usr/local/lib/python3.12/site-packages/ansible/plugins/inventory/ini.py", line 137, in parse
raise AnsibleParserError(e)
[WARNING]: Unable to parse /runner/project/iaas.yml as an inventory source
ERROR! No inventory was parsed, please check your configuration and options.
Any clues whats happening on this execution job?