ansible/contrib/inventory
Monty Taylor 0f893027c4 Add a module_utils OpenStack Cloud constructor (#20974)
Start using this to construct shade OpenStack Cloud objects in a
consistent manner. This will let us centralize things like dealing with
password arguments and whatnot. It also allows us to introduce the
ability to pass a fully formed config dict directly to the module.

Migrate all OpenStack modules to use openstack_cloud_from_module.

Have it return the shade library since it's responsible for
importing shade and shade is needed for the exceptions.

Only pull specific OpenStack arguments for the constructor

Rather than passing **module.params to the shade constructor, pull out
only the values that make sense. This should prevent the issues with
module parameters stepping on shade parameters.

Replace module.params.pop with module.params.get

We don't need to pop these anymore since the shade constructor is now
using opt-in values.

Using real urls is ungood. Use example.com domains. Also, get rid of the
antiquated port numbers.
2018-02-15 15:20:49 +01:00
..
abiquo.ini
abiquo.py
apache-libcloud.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
apstra_aos.ini
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
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
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: support for host vars (#34535) 2018-01-15 13:57:30 +05:30
gce.ini
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
landscape.py
libcloud.ini
libvirt_lxc.py
linode.ini
linode.py Fix redeclaration of get_host_info function (#33608) 2018-01-02 10:24:53 -05:00
lxc_inventory.py
lxd.ini
lxd.py
mdt.ini
mdt_dynamic_inventory.py
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
nsot.py
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
ovirt.ini
ovirt.py
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
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
ssh_config.py
stacki.py Python 2.6 str.format() compatibility fixes. 2018-01-10 14:08:11 -08:00
stacki.yml
vagrant.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
vbox.py
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