Infoblox’s global team of threat hunters uncovers a DNS operation with the ability to bypass traditional security measures and control the Great Firewall of China. Read about “Muddling Meerkat” and the many other threat actors discovered by Infoblox Threat Intel here.

API & Integration, DevOps,NetOps,SecOps


Dynamic inventory only returning host

[ Edited ]
Posts: 18
984     0

I trying to deploy dynamic inventory using the infoblox.yaml and script and I'm getting the hosts listed.  What I need is a way to also get the extensible attributes associated with the host as those would be vars needed for my playbooks.  This is what my static inventory looks like for a single pair of F5 devices.


[ILBEL5003_4] reboot_group=1 reboot_group=2




So this didn't give me what I wanted so I tried to use the nios_inventory plugin.  This running in Ansible Tower and has yet to produce any hosts in the inventory.  Current error is 

Traceback (most recent call last):
File "/usr/bin/awx-manage", line 11, in <module>
load_entry_point('awx==3.8.3', 'console_scripts', 'awx-manage')()
File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/", line 154, in manage
File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/", line 381, in execute_from_command_line
File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/", line 375, in execute
File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/", line 364, in execute
output = self.handle(*args, **options)
File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/main/management/commands/", line 1142, in handle
raise exc
File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/main/management/commands/", line 1032, in handle
venv_path=venv_path, verbosity=self.verbosity).load()
File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/main/management/commands/", line 208, in load
return self.command_to_json(base_args + ['--list'])
File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/main/management/commands/", line 196, in command_to_json
data = json.loads(stdout)
File "/usr/lib64/python3.6/json/", line 354, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python3.6/json/", line 342, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 2 column 1 (char 3)


I have found little to none in the way of documentation on this plugin and wondering if anyone is actually using Infoblox for dynamic inventory in Ansible Tower.

Showing results for 
Search instead for 
Did you mean: 

Recommended for You