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
Toshio Kuratomi e238ae999b Cyptography pr 20566 rebase (#25560)
Make pyca/cryptography the preferred backend for cryptographic needs (mainly vault) falling back to pycrypto

pyca/cryptography is already implicitly a dependency in many cases
through paramiko (2.0+) as well as the new openssl_publickey module,
which requires pyOpenSSL 16.0+. Additionally, pyca/cryptography is
an optional dep for better performance with vault already.

This commit leverages cryptography's padding, constant time comparisons,
and CBC/CTR modes to reduce the amount of code ansible needs to
maintain.

* Handle wrong password given for VaultAES format

* Do not display deprecation warning for cryptography on python-2.6

* Namespace all of the pycrypto imports and always import them

  Makes unittests better and the code less likely to get stupid mistakes
  (like using HMAC from cryptogrpahy when the one from pycrypto is needed)

* Add back in atfork since we need pycrypto to reinitialize its RNG just in case we're being used with old paramiko

* contrib/inventory/gce: Remove spurious require on pycrypto

(cherry picked from commit 9e16b9db275263b3ea8d1b124966fdebfc9ab271)

* Add cryptography to ec2_win_password module requirements
  * Fix python3 bug which would pass text strings to a function which
    requires byte strings.

* Attempt to add pycrypto version to setup deps

* Change hacking README for dual pycrypto/cryptography

* update dependencies for various CI scripts

* additional CI dockerfile/script updates

* add paramiko to the windows and sanity requirement set

  This is needed because ansible lists it as a requirement. Previously
  the missing dep wasn't enforced, but cryptography imports pkg_resources
  so you can't ignore a requirement any more

* Add integration test cases for old vault and for wrong passwords

* helper script for manual testing of pycrypto/cryptography

* Skip the pycrypto tests so that users without it installed can still run the unittests

* Run unittests for vault with both cryptography and pycrypto backend
7 years ago
..
abiquo.ini Fix some typos (#16498) 8 years ago
abiquo.py pep8 fixes for contrib (#24344) 8 years ago
apache-libcloud.py pep8 fixes for contrib (#24344) 8 years ago
apstra_aos.ini [inventory/aos] Few fixes and small tweaks (#22259) 8 years ago
apstra_aos.py Fix spelling mistakes (comments only) (#25564) 8 years ago
azure_rm.ini Upgrade to azure 2.0.0rc5 and add locations parameter. 8 years ago
azure_rm.py pep8 fixes for contrib (#24344) 8 years ago
brook.ini Clean up shebangs for various files. 8 years ago
brook.py Brook inventory (#16122) 8 years ago
cloudforms.ini add cloudforms inventory script (#17037) 8 years ago
cloudforms.py Clean up shebangs for various files. 8 years ago
cloudstack.ini poreted log_plays, syslog_json and osx_say callbacks to v2 9 years ago
cloudstack.py cloudstack: fix pep8 cloudstack inventory (#22092) 8 years ago
cobbler.ini add cobbler api authentication options 9 years ago
cobbler.py pep8 fixes for contrib (#24344) 8 years ago
collins.ini Fix auth in collins.py inventory 8 years ago
collins.py Fixed import of urlencode and pathname2url from urllib for python3 (#24424) 8 years ago
consul.ini poreted log_plays, syslog_json and osx_say callbacks to v2 9 years ago
consul_io.py pep8 fixes for contrib (#24344) 8 years ago
digital_ocean.ini [contrib] Add option to define group vars in DigitalOcean dynamic inventory script 9 years ago
digital_ocean.py fix comment in inventory/digital_ocean.py (#25828) 8 years ago
docker.py pep8 fixes for contrib (#24344) 8 years ago
docker.yml Update and fix typos in docker inventory docstrings. (#15616) 9 years ago
ec2.ini Only read EC2 `regions_exclude` list if necessary (#18720) 8 years ago
ec2.py Fix spelling mistakes (comments only) (#25564) 8 years ago
fleet.py Misc typo fix in fleet inventory (#25174) 8 years ago
foreman.ini foreman.py: create Ansible groups from Satellite 6 host collections (#25269) 8 years ago
foreman.py foreman.py: create Ansible groups from Satellite 6 host collections (#25269) 8 years ago
freeipa.py contrib: PEP8 compliancy (#24680) 8 years ago
gce.ini Added support for specifying zone for gce dynamic inventory (#20938) 8 years ago
gce.py Cyptography pr 20566 rebase (#25560) 7 years ago
jail.py pep8 fixes for contrib (#24344) 8 years ago
landscape.py poreted log_plays, syslog_json and osx_say callbacks to v2 9 years ago
libcloud.ini poreted log_plays, syslog_json and osx_say callbacks to v2 9 years ago
libvirt_lxc.py pep8 fixes for contrib (#24344) 8 years ago
linode.ini Add public_ip option to linode dynamic inventory (#17390) 8 years ago
linode.py pep8 fixes for contrib (#24344) 8 years ago
lxc_inventory.py pep8 fixes for contrib (#24344) 8 years ago
lxd.ini A basic lxd dynamic inventory script (#15848) 8 years ago
lxd.py Address lxd inventory pep8 error (#23021) 8 years ago
mdt.ini Move mdt dynamic inventory plugin into contrib/inventory where it 8 years ago
mdt_dynamic_inventory.py pep8 fixes for contrib (#24344) 8 years ago
nagios_livestatus.ini Fix spelling mistakes (comments only) (#25564) 8 years ago
nagios_livestatus.py pep8 fixes for contrib (#24344) 8 years ago
nagios_ndo.ini Add Nagios NDO inventory plugin 9 years ago
nagios_ndo.py pep8 fixes for contrib (#24344) 8 years ago
nova.ini poreted log_plays, syslog_json and osx_say callbacks to v2 9 years ago
nova.py pep8 fixes for contrib (#24344) 8 years ago
nsot.py pep8 fixes for contrib (#24344) 8 years ago
nsot.yaml Added NSoT Inventory script to pull from Device resources 9 years ago
openshift.py Use sys.exit(msg) i/o print() and sys.exit() (#15465) 8 years ago
openstack.py [openstack] Adds the non-deprecated ansible_host var (#23153) 8 years ago
openstack.yml Allow fail_on_errors in openstack inventory 9 years ago
openvz.py pep8 fixes for contrib (#24344) 8 years ago
ovirt.ini Add dynamic inventory for oVirt version 4 and RHV version 4 (#17910) 8 years ago
ovirt.py pep8 fixes for contrib (#24344) 8 years ago
ovirt4.py inventory: ovirt4: Add support for devices without IP (#24287) 8 years ago
packet_net.ini Dynamic inventory for Packet host (https://packet.net) (#20635) 8 years ago
packet_net.py pep8 fixes for contrib (#24344) 8 years ago
proxmox.py Fixed import of urlencode and pathname2url from urllib for python3 (#24424) 8 years ago
rackhd.py contrib: PEP8 compliancy (#24680) 8 years ago
rax.ini Add rax cache age ini documentation 9 years ago
rax.py pep8 fixes for contrib (#24344) 8 years ago
rhv.py Add dynamic inventory for oVirt version 4 and RHV version 4 (#17910) 8 years ago
rudder.ini minor spelling changes 8 years ago
rudder.py made python 3 compatible 9 years ago
serf.py poreted log_plays, syslog_json and osx_say callbacks to v2 9 years ago
softlayer.py pep8 fixes for contrib (#24344) 8 years ago
spacewalk.ini Added support for ini-file. 9 years ago
spacewalk.py pep8 fixes for contrib (#24344) 8 years ago
ssh_config.py pep8 fixes for contrib (#24344) 8 years ago
stacki.py pep8 fixes for contrib (#24344) 8 years ago
stacki.yml Stacki inventory (#19608) 8 years ago
vagrant.py Fix compile errors in scripts. 8 years ago
vbox.py pep8 fixes for contrib (#24344) 8 years ago
vmware.ini vmware inventory script enhancements (#17106) 8 years ago
vmware.py pep8 fixes for contrib (#24344) 8 years ago
vmware_inventory.ini vmware_inventory: permit to group by custom field & customize skip_keys (#20125) 8 years ago
vmware_inventory.py contrib: PEP8 compliancy (#24680) 8 years ago
windows_azure.ini Updates to Windows Azure inventory script from Tower. Includes changes from https://github.com/ansible/ansible/pull/8403. 9 years ago
windows_azure.py pep8 fixes for contrib (#24344) 8 years ago
zabbix.ini poreted log_plays, syslog_json and osx_say callbacks to v2 9 years ago
zabbix.py pep8 fixes for contrib (#24344) 8 years ago
zone.py pep8 fixes for contrib (#24344) 8 years ago