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 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
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 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
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