1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/contrib/inventory
Achraf Cherti e45d5b7e8e Compatibility of gce.py (Google Cloud Ansible inventory) with Python 3 (#26032)
* Compatibility of gce.py (inventory) with Python 3

* Revert './secrets.py' file check (will import 'secrets' from PYTHONPATH)

Instead of checking if secrets.py exists in the current directory, this
commit will make gce import 'secrets' from one of PYTHONPATH's paths.

There are 2 possibilities:
1. secrets.py will be used if secrets.GCE_PARAMS and
secrets.GCE_KEYWORD_PARAMS are declared.

2. secrets.py will be ignored if secrets.GCE_PARAMS and
secrets.GCE_KEYWORD_PARAMS aren't declared. This could happen in Python
>=3.6 where a module named 'secrets' could be imported if a custom
secrets.py doesn't exist in PYTHONPATH.
Check out https://www.python.org/dev/peps/pep-0506/ and
https://docs.python.org/3/library/secrets.html for more information.
2017-08-18 00:27:03 -04:00
..
abiquo.ini
abiquo.py pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00
apache-libcloud.py Fix undefined variable in libcloud dyn inv script 2017-07-23 12:01:57 -07:00
apstra_aos.ini [inventory/aos] Few fixes and small tweaks (#22259) 2017-03-03 19:38:46 +00:00
apstra_aos.py Fix undefined variables, basestring usage, and some associated python3 issues 2017-07-25 15:58:23 -07:00
azure_rm.ini
azure_rm.py Added checks for machine.os_profile is not None before trying to access child attributes (#22906) 2017-08-15 10:59:41 -07:00
brook.ini Clean up shebangs for various files. 2016-11-02 17:00:27 -07:00
brook.py Brook inventory (#16122) 2017-03-27 14:54:33 -04:00
cloudforms.ini
cloudforms.py
cloudstack.ini
cloudstack.py cloudstack: fix pep8 cloudstack inventory (#22092) 2017-02-28 19:14:03 +01:00
cobbler.ini
cobbler.py pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00
collins.ini
collins.py Fixed import of urlencode and pathname2url from urllib for python3 (#24424) 2017-05-19 12:22:16 -05:00
consul_io.ini [cluster] Name Consul dynamic inventory config consistently w/ the script 2017-07-05 11:24:21 -04:00
consul_io.py Python 3 fix for consul_io inventory (#26510) 2017-07-20 10:35:17 -07:00
digital_ocean.ini
digital_ocean.py assumption made that dopy only dep in dopy (#27536) 2017-08-03 13:44:07 -07:00
docker.py pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00
docker.yml
ec2.ini Add option to group ec2 instances by platform. (#27848) 2017-08-07 12:45:04 -06:00
ec2.py Fix missing option in #27848 (#27892) 2017-08-09 08:41:12 -04:00
fleet.py Misc typo fix in fleet inventory (#25174) 2017-05-30 13:31:35 -04:00
foreman.ini Add possibility to interpret global parameters value as JSON with rich_params flag (#26180) 2017-08-07 12:41:41 -06:00
foreman.py Add possibility to interpret global parameters value as JSON with rich_params flag (#26180) 2017-08-07 12:41:41 -06:00
freeipa.py contrib: PEP8 compliancy (#24680) 2017-05-30 21:08:09 +01:00
gce.ini Added support for specifying zone for gce dynamic inventory (#20938) 2017-03-16 08:28:30 -04:00
gce.py Compatibility of gce.py (Google Cloud Ansible inventory) with Python 3 (#26032) 2017-08-18 00:27:03 -04: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 Linode inventory improvements: Add _meta/hostvars to inventory output. Add a 'linode' host group with all the hosts (#19329) 2017-08-02 13:26:30 -04: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 pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00
nagios_ndo.ini
nagios_ndo.py pep8 fixes for contrib (#24344) 2017-05-09 16:38: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 Allow the Openstack dynamic inventory to discover ansible_user (#17944) 2017-08-11 18:00:59 +02:00
openstack.yml
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 inventory: ovirt4: Add support for devices without IP (#24287) 2017-05-04 12:22:48 -07:00
packet_net.ini Add grouping by hostname for the Packet inventory (#21069) 2017-07-18 09:31:42 -04:00
packet_net.py Add grouping by hostname for the Packet inventory (#21069) 2017-07-18 09:31:42 -04:00
proxmox.py Fixed import of urlencode and pathname2url from urllib for python3 (#24424) 2017-05-19 12:22:16 -05:00
rackhd.py Add GPl License header to rackhd inventory file. (#24354) 2017-07-10 08:09:29 +01:00
rax.ini Add rax cache age ini documentation 2016-01-20 15:27:06 -05:00
rax.py Fix undefined variables, basestring usage, and some associated python3 issues 2017-07-25 15:58:23 -07:00
rhv.py
rudder.ini minor spelling changes 2016-12-13 13:51:13 -05:00
rudder.py
serf.py
softlayer.py Fix 23417 (#27770) 2017-08-04 13:28:40 -04: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 pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00
stacki.yml Stacki inventory (#19608) 2017-01-17 14:01:58 -05:00
vagrant.py
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_inventory: permit to group by custom field & customize skip_keys (#20125) 2017-01-12 09:37:18 -05:00
vmware_inventory.py Fix undefined variables, basestring usage, and some associated python3 issues 2017-07-25 15:58:23 -07:00
windows_azure.ini
windows_azure.py pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00
zabbix.ini
zabbix.py PEP 8 fixes. 2017-06-28 09:41:03 -07:00
zone.py pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00