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
Monty Taylor 4848652c7a 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.

(cherry picked from commit 0f893027c4)
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 Fix Digital Ocean inventory script pagination handling (#35153) 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: support for host vars (#34535) 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