infobloxopen / infoblox-ansible

Ansible modules for interfacing to Infoblox systems
GNU General Public License v3.0
54 stars 61 forks source link

nios_inventory doesn't have a `handle_exception` method #223

Open evilhamsterman opened 3 months ago

evilhamsterman commented 3 months ago

The nios_inventory plugin doesn't have a handle_exception plugin so if there's a problem instead of a useful message you get

Failed to parse /inventories/infoblox.yml with ansible_collections.infoblox.nios_modules.plugins.inventory.nios_inventory plugin: 'Connector' object has no attribute 'handle_exception'

which doesn't tell you anything about what's wrong whether it's a wrong username and password, the host is unreachable, etc.