ansible/contrib/inventory
Pilou 1c43f7c482 FreeIPA inventory (ipalib 4.6.2): avoid exception (#34356)
Workaround for https://pagure.io/freeipa/issue/7345.

mentions:
- IPA_CONFDIR environment variable when directory doesn't exist
- domain, xmlrpc_uri or jsonrpc_uri parameters when one is missing

Exception was:
$ IPA_CONFDIR=/path/to/empty/dir ./ansible/contrib/inventory/freeipa.py --list
Traceback (most recent call last):
  File "./ansible/contrib/inventory/freeipa.py", line 95, in <module>
    api = initialize()
  File "./ansible/contrib/inventory/freeipa.py", line 18, in initialize
    api.finalize()
  File "local/lib/python2.7/site-packages/ipalib/plugable.py", line 738, in finalize
    self.__do_if_not_done('load_plugins')
  File "local/lib/python2.7/site-packages/ipalib/plugable.py", line 425, in __do_if_not_done
    getattr(self, name)()
  File "local/lib/python2.7/site-packages/ipalib/plugable.py", line 618, in load_plugins
    for package in self.packages:
  File "local/lib/python2.7/site-packages/ipalib/__init__.py", line 949, in packages
    ipaclient.remote_plugins.get_package(self),
  File "local/lib/python2.7/site-packages/ipaclient/remote_plugins/__init__.py", line 120, in get_package
    server_info = ServerInfo(api)
  File "local/lib/python2.7/site-packages/ipaclient/remote_plugins/__init__.py", line 26, in __init__
    hostname = DNSName(api.env.server).ToASCII()
AttributeError: 'Env' object has no attribute 'server'
2018-02-26 05:07:51 -05:00
..
abiquo.ini
abiquo.py pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00
apache-libcloud.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
apstra_aos.ini [inventory/aos] Few fixes and small tweaks (#22259) 2017-03-03 19:38:46 +00:00
apstra_aos.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
azure_rm.ini
azure_rm.py azure_rm inventory should add "ansible_connection: winrm" in host_vars for windows hosts - fixes #34689 (#34691) 2018-01-18 05:49:50 +10:00
brook.ini
brook.py Brook inventory (#16122) 2017-03-27 14:54:33 -04:00
cloudforms.ini Add ability to select to prefer IPv4 addresses for ansible_ssh_host (#35584) 2018-02-01 10:33:51 -05:00
cloudforms.py Add ability to select to prefer IPv4 addresses for ansible_ssh_host (#35584) 2018-02-01 10:33:51 -05:00
cloudstack.ini
cloudstack.py cloudstack: inventory: Added feature list by tag (#31319) 2018-01-14 20:42:31 +01:00
cobbler.ini
cobbler.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
collins.ini Fix auth in collins.py inventory 2016-11-23 14:39:25 -05:00
collins.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
consul_io.ini Improve consul_io.py execution speed (#33737) 2017-12-13 13:33:28 +00:00
consul_io.py consul_io: fixed service availability check (#34293) 2018-01-19 16:33:52 -05:00
digital_ocean.ini
digital_ocean.py Removed sort from json dump since response is a mix of strings and integers (#34217) 2018-02-10 07:52:10 +05:30
docker.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
docker.yml
ec2.ini Implement AND'd filters in ec2.py/ini (#30272) 2017-09-21 12:06:56 -04:00
ec2.py Add hash making inventory caches unique to inventory script ran (#34742) 2018-01-23 13:10:22 -05:00
fleet.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
foreman.ini Add scan_new_hosts feature in ansible foreman inventory (#33743) 2017-12-14 15:10:42 -05:00
foreman.py Add scan_new_hosts feature in ansible foreman inventory (#33743) 2017-12-14 15:10:42 -05:00
freeipa.py FreeIPA inventory (ipalib 4.6.2): avoid exception (#34356) 2018-02-26 05:07:51 -05:00
gce.ini Added support for specifying zone for gce dynamic inventory (#20938) 2017-03-16 08:28:30 -04:00
gce.py Added handling optional GCE_CREDENTIALS_FILE_PATH (#25526) 2017-08-30 14:46:45 -04:00
infoblox.py Contrib infoblox exattrs Fixes #35409 (#35410) 2018-01-31 09:17:34 -05:00
infoblox.yaml adds infoblox dynamic inventory script (#35328) 2018-01-25 14:29:11 -05:00
jail.py pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00
landscape.py
libcloud.ini
libvirt_lxc.py pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00
linode.ini
linode.py Fix redeclaration of get_host_info function (#33608) 2018-01-02 10:24:53 -05:00
lxc_inventory.py pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00
lxd.ini A basic lxd dynamic inventory script (#15848) 2017-03-27 14:52:23 -04:00
lxd.py Address lxd inventory pep8 error (#23021) 2017-03-27 20:12:17 -05:00
mdt.ini
mdt_dynamic_inventory.py pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00
nagios_livestatus.ini Fix spelling mistakes (comments only) (#25564) 2017-06-12 07:55:19 +01:00
nagios_livestatus.py Replace exit() with sys.exit() 2017-12-14 22:03:08 -05:00
nagios_ndo.ini
nagios_ndo.py Replace exit() with sys.exit() 2017-12-14 22:03:08 -05:00
nova.ini
nova.py pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00
nsot.py pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00
nsot.yaml
openshift.py
openstack.py More stable explicit file close. (#34303) 2018-01-02 10:03:44 -06:00
openstack.yml Add a module_utils OpenStack Cloud constructor (#20974) 2018-02-15 15:20:49 +01:00
openvz.py pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00
ovirt.ini
ovirt.py pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00
ovirt4.py ovirt: Add env variables to dynamic inventory (#31821) 2017-10-18 11:26:03 +01:00
packet_net.ini Add grouping by hostname for the Packet inventory (#21069) 2017-07-18 09:31:42 -04:00
packet_net.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
proxmox.py Python 2.6 str.format() compatibility fixes. 2018-01-10 14:08:11 -08:00
rackhd.py Add GPl License header to rackhd inventory file. (#24354) 2017-07-10 08:09:29 +01:00
rax.ini
rax.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
rhv.py
rudder.ini minor spelling changes 2016-12-13 13:51:13 -05:00
rudder.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
scaleway.ini contrib(inventory): fix Scaleway inventory used w/env variable token (#35701) 2018-02-05 08:32:49 +00:00
scaleway.py contrib(inventory): fix Scaleway inventory used w/env variable token (#35701) 2018-02-05 08:32:49 +00:00
serf.py
softlayer.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
spacewalk.ini
spacewalk.py pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00
ssh_config.py pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00
stacki.py Python 2.6 str.format() compatibility fixes. 2018-01-10 14:08:11 -08:00
stacki.yml Stacki inventory (#19608) 2017-01-17 14:01:58 -05:00
vagrant.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
vbox.py pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00
vmware.ini
vmware.py Fix undefined variables, basestring usage, and some associated python3 issues 2017-07-25 15:58:23 -07:00
vmware_inventory.ini VMware: change default host_filter to gueststate (#32839) 2017-11-21 04:32:18 +00:00
vmware_inventory.py Fix ConfigParser.set error in vmware_inventory (#31643) 2017-11-28 22:52:59 +05:30
windows_azure.ini
windows_azure.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
zabbix.ini
zabbix.py zabbix_inventory PEP8 compliance. (#28680) 2017-08-28 20:12:32 +02:00
zone.py pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00