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 Fix some typos (#16498) 2016-06-29 14:31:25 -04:00
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 Upgrade to azure 2.0.0rc5 and add locations parameter. 2016-07-09 01:42:39 -04:00
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 add cloudforms inventory script (#17037) 2016-08-18 14:37:31 -07:00
cloudforms.py Clean up shebangs for various files. 2016-11-02 17:00:27 -07:00
cloudstack.ini poreted log_plays, syslog_json and osx_say callbacks to v2 2015-07-10 10:30:33 -04:00
cloudstack.py cloudstack: fix pep8 cloudstack inventory (#22092) 2017-02-28 19:14:03 +01:00
cobbler.ini add cobbler api authentication options 2016-04-18 17:29:03 -04:00
cobbler.py pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00
collins.ini Fix auth in collins.py inventory 2016-11-23 14:39:25 -05:00
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 [contrib] Add option to define group vars in DigitalOcean dynamic inventory script 2016-02-14 17:04:26 +01:00
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 Update and fix typos in docker inventory docstrings. (#15616) 2016-04-27 17:17:34 -04:00
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 poreted log_plays, syslog_json and osx_say callbacks to v2 2015-07-10 10:30:33 -04:00
libcloud.ini poreted log_plays, syslog_json and osx_say callbacks to v2 2015-07-10 10:30:33 -04:00
libvirt_lxc.py pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00
linode.ini Add public_ip option to linode dynamic inventory (#17390) 2016-09-09 09:14:27 -04:00
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 Move mdt dynamic inventory plugin into contrib/inventory where it 2016-11-07 12:02:29 -08:00
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 Add Nagios NDO inventory plugin 2015-09-01 17:10:37 +02:00
nagios_ndo.py pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00
nova.ini poreted log_plays, syslog_json and osx_say callbacks to v2 2015-07-10 10:30:33 -04:00
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 Added NSoT Inventory script to pull from Device resources 2015-09-15 00:53:34 -07:00
openshift.py Use sys.exit(msg) i/o print() and sys.exit() (#15465) 2016-08-23 11:09:23 -04:00
openstack.py Allow the Openstack dynamic inventory to discover ansible_user (#17944) 2017-08-11 18:00:59 +02:00
openstack.yml Allow fail_on_errors in openstack inventory 2016-04-05 20:31:54 +10:00
openvz.py pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00
ovirt.ini Add dynamic inventory for oVirt version 4 and RHV version 4 (#17910) 2016-11-17 09:18:46 -05:00
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 Add dynamic inventory for oVirt version 4 and RHV version 4 (#17910) 2016-11-17 09:18:46 -05:00
rudder.ini minor spelling changes 2016-12-13 13:51:13 -05:00
rudder.py made python 3 compatible 2015-11-13 21:57:28 -08:00
serf.py poreted log_plays, syslog_json and osx_say callbacks to v2 2015-07-10 10:30:33 -04:00
softlayer.py Fix 23417 (#27770) 2017-08-04 13:28:40 -04:00
spacewalk.ini Added support for ini-file. 2015-07-31 14:18:59 +02:00
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 Fix compile errors in scripts. 2016-12-08 11:35:20 -05:00
vbox.py pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00
vmware.ini vmware inventory script enhancements (#17106) 2016-08-17 17:44:15 -04:00
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 Updates to Windows Azure inventory script from Tower. Includes changes from https://github.com/ansible/ansible/pull/8403. 2015-08-10 17:35:47 -04:00
windows_azure.py pep8 fixes for contrib (#24344) 2017-05-09 16:38:08 -05:00
zabbix.ini poreted log_plays, syslog_json and osx_say callbacks to v2 2015-07-10 10:30:33 -04:00
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