You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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'
7 years ago
..
abiquo.ini
abiquo.py
apache-libcloud.py Fix invalid string escape sequences. 7 years ago
apstra_aos.ini
apstra_aos.py Fix invalid string escape sequences. 7 years ago
azure_rm.ini
azure_rm.py azure_rm inventory should add "ansible_connection: winrm" in host_vars for windows hosts - fixes #34689 (#34691) 7 years ago
brook.ini
brook.py Brook inventory (#16122) 8 years ago
cloudforms.ini Add ability to select to prefer IPv4 addresses for ansible_ssh_host (#35584) 7 years ago
cloudforms.py Add ability to select to prefer IPv4 addresses for ansible_ssh_host (#35584) 7 years ago
cloudstack.ini
cloudstack.py cloudstack: inventory: Added feature list by tag (#31319) 7 years ago
cobbler.ini
cobbler.py Fix invalid string escape sequences. 7 years ago
collins.ini
collins.py Fix invalid string escape sequences. 7 years ago
consul_io.ini Improve consul_io.py execution speed (#33737) 7 years ago
consul_io.py consul_io: fixed service availability check (#34293) 7 years ago
digital_ocean.ini
digital_ocean.py Removed sort from json dump since response is a mix of strings and integers (#34217) 7 years ago
docker.py Fix invalid string escape sequences. 7 years ago
docker.yml
ec2.ini Implement AND'd filters in ec2.py/ini (#30272) 7 years ago
ec2.py Add hash making inventory caches unique to inventory script ran (#34742) 7 years ago
fleet.py Fix invalid string escape sequences. 7 years ago
foreman.ini Add scan_new_hosts feature in ansible foreman inventory (#33743) 7 years ago
foreman.py Add scan_new_hosts feature in ansible foreman inventory (#33743) 7 years ago
freeipa.py FreeIPA inventory (ipalib 4.6.2): avoid exception (#34356) 7 years ago
gce.ini
gce.py Added handling optional GCE_CREDENTIALS_FILE_PATH (#25526) 7 years ago
infoblox.py Contrib infoblox exattrs Fixes #35409 (#35410) 7 years ago
infoblox.yaml adds infoblox dynamic inventory script (#35328) 7 years ago
jail.py
landscape.py
libcloud.ini
libvirt_lxc.py
linode.ini Add public_ip option to linode dynamic inventory (#17390) 8 years ago
linode.py Fix redeclaration of get_host_info function (#33608) 7 years ago
lxc_inventory.py
lxd.ini
lxd.py Address lxd inventory pep8 error (#23021) 8 years ago
mdt.ini
mdt_dynamic_inventory.py
nagios_livestatus.ini Fix spelling mistakes (comments only) (#25564) 8 years ago
nagios_livestatus.py Replace exit() with sys.exit() 7 years ago
nagios_ndo.ini
nagios_ndo.py Replace exit() with sys.exit() 7 years ago
nova.ini
nova.py
nsot.py
nsot.yaml
openshift.py
openstack.py More stable explicit file close. (#34303) 7 years ago
openstack.yml Add a module_utils OpenStack Cloud constructor (#20974) 7 years ago
openvz.py
ovirt.ini
ovirt.py
ovirt4.py ovirt: Add env variables to dynamic inventory (#31821) 7 years ago
packet_net.ini
packet_net.py Fix invalid string escape sequences. 7 years ago
proxmox.py Python 2.6 `str.format()` compatibility fixes. 7 years ago
rackhd.py
rax.ini
rax.py Fix invalid string escape sequences. 7 years ago
rhv.py
rudder.ini
rudder.py Fix invalid string escape sequences. 7 years ago
scaleway.ini contrib(inventory): fix Scaleway inventory used w/env variable token (#35701) 7 years ago
scaleway.py contrib(inventory): fix Scaleway inventory used w/env variable token (#35701) 7 years ago
serf.py
softlayer.py Fix invalid string escape sequences. 7 years ago
spacewalk.ini
spacewalk.py
ssh_config.py
stacki.py Python 2.6 `str.format()` compatibility fixes. 7 years ago
stacki.yml
vagrant.py Fix invalid string escape sequences. 7 years ago
vbox.py
vmware.ini
vmware.py
vmware_inventory.ini VMware: change default host_filter to gueststate (#32839) 7 years ago
vmware_inventory.py Fix ConfigParser.set error in vmware_inventory (#31643) 7 years ago
windows_azure.ini
windows_azure.py Fix invalid string escape sequences. 7 years ago
zabbix.ini
zabbix.py
zone.py