1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/inventory
Kim Johansson 576832e4c9 Always define error before using it
When the error reason is "Forbidden", the code throws a Python exception
rather than simply outputting the exception reason.

It's not nice to throw a Python exception when all the info to display
a proper message is available.
2015-03-27 10:46:01 +01:00
..
abiquo.ini
abiquo.py
apache-libcloud.py
cobbler.ini
cobbler.py
collins.ini
collins.py
consul.ini
consul_io.py
digital_ocean.ini
digital_ocean.py
docker.py
docker.yml
ec2.ini
ec2.py
freeipa.py
gce.ini
gce.py
jail.py
libcloud.ini
libvirt_lxc.py
linode.ini
linode.py
nova.ini
nova.py
openshift.py
openstack.py
openstack.yml
rax.ini
rax.py
softlayer.py
spacewalk.py
ssh_config.py
vagrant.py
vbox.py
vmware.ini
vmware.py
windows_azure.ini
windows_azure.py
zabbix.ini
zabbix.py
zone.py