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 Fix some typos (#16498) 8 years ago
abiquo.py pep8 fixes for contrib (#24344) 8 years ago
apache-libcloud.py Fix invalid string escape sequences. 7 years ago
apstra_aos.ini [inventory/aos] Few fixes and small tweaks (#22259) 8 years ago
apstra_aos.py Fix invalid string escape sequences. 7 years ago
azure_rm.ini Upgrade to azure 2.0.0rc5 and add locations parameter. 8 years ago
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 Clean up shebangs for various files. 8 years ago
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 add cobbler api authentication options 9 years ago
cobbler.py Fix invalid string escape sequences. 7 years ago
collins.ini Fix auth in collins.py inventory 8 years ago
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 [contrib] Add option to define group vars in DigitalOcean dynamic inventory script 9 years ago
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 Update and fix typos in docker inventory docstrings. (#15616) 9 years ago
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 Added support for specifying zone for gce dynamic inventory (#20938) 8 years ago
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 pep8 fixes for contrib (#24344) 8 years ago
landscape.py
libcloud.ini
libvirt_lxc.py pep8 fixes for contrib (#24344) 8 years ago
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 pep8 fixes for contrib (#24344) 8 years ago
lxd.ini A basic lxd dynamic inventory script (#15848) 8 years ago
lxd.py Address lxd inventory pep8 error (#23021) 8 years ago
mdt.ini Move mdt dynamic inventory plugin into contrib/inventory where it 8 years ago
mdt_dynamic_inventory.py pep8 fixes for contrib (#24344) 8 years ago
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 Add Nagios NDO inventory plugin 9 years ago
nagios_ndo.py Replace exit() with sys.exit() 7 years ago
nova.ini
nova.py pep8 fixes for contrib (#24344) 8 years ago
nsot.py pep8 fixes for contrib (#24344) 8 years ago
nsot.yaml Added NSoT Inventory script to pull from Device resources 9 years ago
openshift.py Use sys.exit(msg) i/o print() and sys.exit() (#15465) 8 years ago
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 pep8 fixes for contrib (#24344) 8 years ago
ovirt.ini Add dynamic inventory for oVirt version 4 and RHV version 4 (#17910) 8 years ago
ovirt.py pep8 fixes for contrib (#24344) 8 years ago
ovirt4.py ovirt: Add env variables to dynamic inventory (#31821) 7 years ago
packet_net.ini Add grouping by hostname for the Packet inventory (#21069) 7 years ago
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 Add GPl License header to rackhd inventory file. (#24354) 7 years ago
rax.ini Add rax cache age ini documentation 9 years ago
rax.py Fix invalid string escape sequences. 7 years ago
rhv.py Add dynamic inventory for oVirt version 4 and RHV version 4 (#17910) 8 years ago
rudder.ini minor spelling changes 8 years ago
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 pep8 fixes for contrib (#24344) 8 years ago
ssh_config.py pep8 fixes for contrib (#24344) 8 years ago
stacki.py Python 2.6 `str.format()` compatibility fixes. 7 years ago
stacki.yml Stacki inventory (#19608) 8 years ago
vagrant.py Fix invalid string escape sequences. 7 years ago
vbox.py pep8 fixes for contrib (#24344) 8 years ago
vmware.ini vmware inventory script enhancements (#17106) 8 years ago
vmware.py Fix undefined variables, basestring usage, and some associated python3 issues 7 years ago
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 zabbix_inventory PEP8 compliance. (#28680) 7 years ago
zone.py pep8 fixes for contrib (#24344) 8 years ago