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
apstra_aos.ini
apstra_aos.py
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
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
collins.ini
collins.py
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
docker.yml
ec2.ini
ec2.py Add hash making inventory caches unique to inventory script ran (#34742) 7 years ago
fleet.py
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
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
linode.py Fix redeclaration of get_host_info function (#33608) 7 years ago
lxc_inventory.py
lxd.ini
lxd.py
mdt.ini
mdt_dynamic_inventory.py
nagios_livestatus.ini
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
packet_net.ini
packet_net.py
proxmox.py Python 2.6 `str.format()` compatibility fixes. 7 years ago
rackhd.py
rax.ini
rax.py
rhv.py
rudder.ini
rudder.py
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
spacewalk.ini
spacewalk.py
ssh_config.py
stacki.py Python 2.6 `str.format()` compatibility fixes. 7 years ago
stacki.yml
vagrant.py
vbox.py
vmware.ini
vmware.py
vmware_inventory.ini
vmware_inventory.py
windows_azure.ini
windows_azure.py
zabbix.ini
zabbix.py
zone.py