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/test/integration/targets
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
..
add_host Initial ansible-test implementation. (#18556) 8 years ago
ansible Miscellaneous bug fixes for ansible-test. 8 years ago
apache2_module Add workaround for evasive in apache2_module (#22649) 8 years ago
apt added integration tests for apt upgrade (#25670) 8 years ago
apt_key Add integration test targets for core supported modules (#24217) 8 years ago
apt_repository Initial ansible-test implementation. (#18556) 8 years ago
args Initial ansible-test implementation. (#18556) 8 years ago
asa_acl Fix cosmetic problems in YAML source 8 years ago
asa_command Fix cosmetic problems in YAML source 8 years ago
asa_config Check for removal not allowed errors (#19251) 8 years ago
assemble Changed assemble_from_fragments to use os.path.join (#24909) 8 years ago
async test/: PEP8 compliancy (#24803) 8 years ago
async_extra_data Initial ansible-test implementation. (#18556) 8 years ago
at Add integration test targets for core supported modules (#24217) 8 years ago
authorized_key authorized_key: support --diff (#19277) 8 years ago
aws_api_gateway [cloud] New module: AWS API Gageway module (#20230) 8 years ago
aws_s3 [cloud] s3: deleting a nonexistent bucket should not give a traceback Fixes #25445 (#25487) 8 years ago
become Initial ansible-test implementation. (#18556) 8 years ago
binary Initial ansible-test implementation. (#18556) 8 years ago
binary_modules Fix cosmetic problems in YAML source 8 years ago
binary_modules_posix Initial ansible-test implementation. (#18556) 8 years ago
binary_modules_winrm Complete rewrite of Windows exec wrapper (#21510) 8 years ago
blockinfile Add integration test targets for core supported modules (#24217) 8 years ago
blocks Initial ansible-test implementation. (#18556) 8 years ago
callback_retry_task_name Fix 'task name is not templated in retry callback' (add task_name property to TaskResult) (#21214) 8 years ago
changed_when Initial ansible-test implementation. (#18556) 8 years ago
check_mode Initial ansible-test implementation. (#18556) 8 years ago
command_shell Initial ansible-test implementation. (#18556) 8 years ago
conditionals test conditionals work for invalid elements in list and undefined keys in dicts (#23875) 8 years ago
connection Transition inventory into plugins (#23001) 8 years ago
connection_chroot Initial ansible-test implementation. (#18556) 8 years ago
connection_docker Initial ansible-test implementation. (#18556) 8 years ago
connection_jail Initial ansible-test implementation. (#18556) 8 years ago
connection_libvirt_lxc Initial ansible-test implementation. (#18556) 8 years ago
connection_local Initial ansible-test implementation. (#18556) 8 years ago
connection_lxc Initial ansible-test implementation. (#18556) 8 years ago
connection_lxd Initial ansible-test implementation. (#18556) 8 years ago
connection_paramiko_ssh Initial ansible-test implementation. (#18556) 8 years ago
connection_posix Transition inventory into plugins (#23001) 8 years ago
connection_ssh Add pipeline-ish method using dd for file transfer over SSH (#18642) 8 years ago
connection_winrm Transition inventory into plugins (#23001) 8 years ago
copy keep unsafe .. unsafe (#23742) 8 years ago
cs_account cloudstack: add check mode tests (#24908) 8 years ago
cs_affinitygroup cloudstack: fix pep8 cs_affinitygroup 8 years ago
cs_cluster cloudstack: fix pep8 cs_cluster 8 years ago
cs_common automated integration tests for cloudstack (#20552) 8 years ago
cs_configuration cloudstack: add check mode tests (#24908) 8 years ago
cs_domain cloudstack: fix pep8 cs_domain 8 years ago
cs_firewall cloudstack: add check mode tests (#24908) 8 years ago
cs_host cloudstack: cs_host: add integration tests 7 years ago
cs_instance cloudstack: add check mode tests (#24908) 8 years ago
cs_instance_facts Python 3 fixes for CloudStack modules and tests. (#24400) 8 years ago
cs_instancegroup cloudstack: add check mode tests (#24908) 8 years ago
cs_iso cloudstack: add check mode tests (#24908) 8 years ago
cs_loadbalancer_rule cloudstack: add check mode tests (#24908) 8 years ago
cs_network_acl cloudstack: add check mode tests (#24908) 8 years ago
cs_network_acl_rule cloudstack: new module cs_network_acl_rule (#25325) 8 years ago
cs_pod cloudstack: add check mode tests (#24908) 8 years ago
cs_portforward cloudstack: add check mode tests (#24908) 8 years ago
cs_project cloudstack: add check mode tests (#24908) 8 years ago
cs_resourcelimit cloudstack: add check mode tests (#24908) 8 years ago
cs_securitygroup cloudstack: add check mode tests (#24908) 8 years ago
cs_securitygroup_rule cloudstack: add check mode tests (#24908) 8 years ago
cs_sshkeypair cloudstack: add check mode tests (#24908) 8 years ago
cs_user cloudstack: add check mode tests (#24908) 8 years ago
cs_vmsnapshot cloudstack: add check mode tests (#24908) 8 years ago
cs_volume cloudstack: add check mode tests (#24908) 8 years ago
cs_vpc cloudstack: add check mode tests (#24908) 8 years ago
cs_vpn_gateway cloudstack: add check mode tests (#24908) 8 years ago
cs_zone cloudstack: add tests, fix pep8 (#25518) 8 years ago
cs_zone_facts cloudstack: cs_zone_facts: add tests and fix pep8 (#25407) 8 years ago
debconf Add integration test targets for core supported modules (#24217) 8 years ago
delegate_to Initial ansible-test implementation. (#18556) 8 years ago
dellos6_command Fix cosmetic problems in YAML source 8 years ago
dellos6_config Use inventory_hostname_short (#20054) 8 years ago
dellos6_facts Fix cosmetic problems in YAML source 8 years ago
dellos9_command Fix cosmetic problems in YAML source 8 years ago
dellos9_config Use inventory_hostname_short (#20054) 8 years ago
dellos9_facts Fix cosmetic problems in YAML source 8 years ago
dellos10_command Fix cosmetic problems in YAML source 8 years ago
dellos10_config Use inventory_hostname_short (#20054) 8 years ago
dellos10_facts Fix cosmetic problems in YAML source 8 years ago
deploy_helper Fix deploy_helper integration tests. 8 years ago
dnf Installroot OS version check fix (#20180) 8 years ago
docker Initial ansible-test implementation. (#18556) 8 years ago
ec2_ami Enable cloud tests for use with ansible-test. 8 years ago
ec2_elb_lb Ensure exit_json returns failed = False 8 years ago
ec2_facts Enable cloud tests for use with ansible-test. 8 years ago
ec2_group [cloud] New feature for ec2_group: allow deleting groups by id (#26022) 7 years ago
ec2_key Ensure exit_json returns failed = False 8 years ago
ec2_tag Enable cloud tests for use with ansible-test. 8 years ago
ec2_vol Enable cloud tests for use with ansible-test. 8 years ago
ec2_vpc Enable cloud tests for use with ansible-test. 8 years ago
ecs_ecr Enable cloud tests for use with ansible-test. 8 years ago
embedded_module Initial ansible-test implementation. (#18556) 8 years ago
environment added test emulating #23180 use case 8 years ago
eos_banner Do not assert session name on idempotent eos banner (#23402) 8 years ago
eos_command Fix cosmetic problems in YAML source 8 years ago
eos_config fixes issue with config parents on eos modules (#21923) 8 years ago
eos_eapi fixes eos_eapi to error on wrong transport (#21993) 8 years ago
eos_facts updates eos_facts integration test cases (#21988) 8 years ago
eos_system Test system (#22420) 8 years ago
eos_template Use inventory_hostname_short (#20054) 8 years ago
eos_user Add missing integration test for eos_user (#25463) 8 years ago
eos_vlan New module: Add support for Arista EOS vlan (network/eos/eos_vlan) (#25355) 8 years ago
eos_vrf Fix network integration test config. (#26057) 7 years ago
expect Fix expect for python 3 (#24912) 8 years ago
facts_d Facts Refresh (2.4 roadmap) (#23012) 8 years ago
failed_when Ensure exit_json returns failed = False 8 years ago
fetch Ensure exit_json returns failed = False 8 years ago
file Add missing `needs/root` alias to `file` test. (#22800) 8 years ago
filters Fix hash filter for non-ascii strings and Python3 8 years ago
find Add integration test targets for core supported modules (#24217) 8 years ago
fortios_ipv4_policy Fortios file only mode + integration tests (#23275) 8 years ago
gathering_facts Facts Refresh (2.4 roadmap) (#23012) 8 years ago
gem Initial ansible-test implementation. (#18556) 8 years ago
get_url Ensure exit_json returns failed = False 8 years ago
getent Add integration test targets for core supported modules (#24217) 8 years ago
git In the git module let ssh do its own host checking 7 years ago
group Add integration test targets for core supported modules (#24217) 8 years ago
group_by Add missing group_vars to group_by test. 8 years ago
groupby_filter Improve jinja2 test coverage. (#20533) 8 years ago
handlers tests: add handler listen test cases 8 years ago
hash Initial ansible-test implementation. (#18556) 8 years ago
hg Correct usage of fail_json in hg module (#25847) 8 years ago
hosts_field Initial ansible-test implementation. (#18556) 8 years ago
ignore_errors Initial ansible-test implementation. (#18556) 8 years ago
include_vars Initial ansible-test implementation. (#18556) 8 years ago
includes Initial ansible-test implementation. (#18556) 8 years ago
ios_banner Add missing provider on basic-motd IOS test (#25307) 8 years ago
ios_command Run vyos_command Network tests in Shippable (#24514) 8 years ago
ios_config Run vyos_command Network tests in Shippable (#24514) 8 years ago
ios_facts Run vyos_command Network tests in Shippable (#24514) 8 years ago
ios_system Run vyos_command Network tests in Shippable (#24514) 8 years ago
ios_template Run vyos_command Network tests in Shippable (#24514) 8 years ago
ios_user Idempotent behaviour in ios_user integration test (#25774) 8 years ago
iosxr_banner iosxr_banner Implementation module (#25744) 8 years ago
iosxr_command Run vyos_command Network tests in Shippable (#24514) 8 years ago
iosxr_config Run vyos_command Network tests in Shippable (#24514) 8 years ago
iosxr_facts Run vyos_command Network tests in Shippable (#24514) 8 years ago
iosxr_system Run vyos_command Network tests in Shippable (#24514) 8 years ago
iosxr_template Run vyos_command Network tests in Shippable (#24514) 8 years ago
iosxr_user Add iosxr_user implementation module (#25615) 8 years ago
iso_extract Add integration test targets for core supported modules (#24217) 8 years ago
iterators Fix 'sequence' lookup shortcut syntax and documentation (#22989) 8 years ago
junos_banner Add junos_banner declartive module (#25826) 8 years ago
junos_command Add junos integration test (#24404) 8 years ago
junos_config Add junos integration test (#24404) 8 years ago
junos_facts Add junos integration test (#24404) 8 years ago
junos_interface Fix network integration test config. (#26057) 7 years ago
junos_netconf roll up of fixes and updates for junos modules (#22543) 8 years ago
junos_rpc Add junos integration test (#24404) 8 years ago
junos_system Fix network integration test config. (#26057) 7 years ago
junos_template fixes candidate var type in junos shared lib (#22551) 8 years ago
junos_vlan Add junos_banner declartive module (#25826) 8 years ago
known_hosts known_hosts: support --diff (#20349) 8 years ago
lineinfile Initial ansible-test implementation. (#18556) 8 years ago
locale_gen Fix locale_gen to compare native strings rather than mixing byte and text strings 8 years ago
lookup_paths Fix regression in search path behaviour 8 years ago
lookup_properties Initial ansible-test implementation. (#18556) 8 years ago
lookups Make password lookup treat /dev/null as a special case 8 years ago
loops Initial ansible-test implementation. (#18556) 8 years ago
module_precedence Add integration test that modules are loaded from the expected locations (#24170) 8 years ago
module_utils moved to exceptions for basic skip/fails 8 years ago
mount Initial ansible-test implementation. (#18556) 8 years ago
mysql_db Use stronger password for MySQL (#25821) 8 years ago
mysql_user MySQL Password updates (#25825) 8 years ago
mysql_variables MySQL Password updates (#25825) 8 years ago
net_banner Fix network integration test config. (#26057) 7 years ago
net_command Fix network integration test config. (#26057) 7 years ago
net_interface Fix network integration test config. (#26057) 7 years ago
net_system Fix network integration test config. (#26057) 7 years ago
net_user Fix network integration test config. (#26057) 7 years ago
net_vlan Fix network integration test config. (#26057) 7 years ago
net_vrf Fix network integration test config. (#26057) 7 years ago
no_log Initial ansible-test implementation. (#18556) 8 years ago
nxos_banner Add nxos_banner implementation module (#25695) 8 years ago
nxos_command Run vyos_command Network tests in Shippable (#24514) 8 years ago
nxos_config Run vyos_command Network tests in Shippable (#24514) 8 years ago
nxos_evpn_global Run vyos_command Network tests in Shippable (#24514) 8 years ago
nxos_facts Run vyos_command Network tests in Shippable (#24514) 8 years ago
nxos_feature Run vyos_command Network tests in Shippable (#24514) 8 years ago
nxos_interface Run vyos_command Network tests in Shippable (#24514) 8 years ago
nxos_mtu Run vyos_command Network tests in Shippable (#24514) 8 years ago
nxos_nxapi Run vyos_command Network tests in Shippable (#24514) 8 years ago
nxos_system Run vyos_command Network tests in Shippable (#24514) 8 years ago
nxos_template Run vyos_command Network tests in Shippable (#24514) 8 years ago
nxos_user Add integration test for nxos_user (#25464) 8 years ago
openvswitch_db Add missing register on openvswitch_db integration tests (#25609) 8 years ago
ops_command Make tests run on fresh install (#19566) 8 years ago
package Add integration test targets for core supported modules (#24217) 8 years ago
parsing Fix spelling mistakes (comments only) (#25564) 8 years ago
ping Initial ansible-test implementation. (#18556) 8 years ago
pip Temporary work-around for setuptools 36.0.0 bug. (#25243) 8 years ago
postgresql postgresql_user: fix bugs related to 'expires' option (#23862) 8 years ago
prepare_eos_tests/tasks
prepare_http_tests Urls client cert auth (#18141) 8 years ago
prepare_ios_tests Add provider to prepare_ios_tests role tasks (#25162) 8 years ago
prepare_iosxr_tests Add provider param to prepare_iosxr_tests role tasks (#25163) 8 years ago
prepare_nxos_tests/tasks updates prepare_nxos_tests to use nxos_nxapi module (#22150) 8 years ago
prepare_ovs_tests/tasks [WIP] Add openvswitch_db integration tests (#23803) 8 years ago
prepare_tests/tasks
prepare_win_tests Fix cosmetic problems in YAML source 8 years ago
pull Transition inventory into plugins (#23001) 8 years ago
raw Add integration test targets for core supported modules (#24217) 8 years ago
script moved to exceptions for basic skip/fails 8 years ago
sefcontext Added tests for sefcontext module 8 years ago
service Associate `systemd` module with `service` test. (#22847) 8 years ago
setup_ec2 Enable cloud tests for use with ansible-test. 8 years ago
setup_mysql_db Detect and fix environment tampering in tests. 8 years ago
setup_postgresql_db Update FreeBSD pg test to use postgresql95-server. 7 years ago
setup_sshkey/tasks Enable cloud tests for use with ansible-test. 8 years ago
slurp Test the slurp module 8 years ago
special_vars Initial ansible-test implementation. (#18556) 8 years ago
stat Initial ansible-test implementation. (#18556) 8 years ago
subversion Initial ansible-test implementation. (#18556) 8 years ago
synchronize Initial ansible-test implementation. (#18556) 8 years ago
sysctl Check sysctl no name (#25041) 8 years ago
systemd Add integration test targets for core supported modules (#24217) 8 years ago
tags Initial ansible-test implementation. (#18556) 8 years ago
task_ordering Initial ansible-test implementation. (#18556) 8 years ago
template Windows: Use the correct newline sequence for the platform (#21846) 8 years ago
template_jinja2_latest Improve jinja2 test coverage. (#20533) 8 years ago
templating_settings Initial ansible-test implementation. (#18556) 8 years ago
test_infra Initial ansible-test implementation. (#18556) 8 years ago
unarchive Initial ansible-test implementation. (#18556) 8 years ago
unicode Initial ansible-test implementation. (#18556) 8 years ago
until Initial ansible-test implementation. (#18556) 8 years ago
uri win_uri: Add integration tests, new functionality... (#25373) 8 years ago
user Revert "Temporarily disable test which fails in group run." 8 years ago
var_blending Initial ansible-test implementation. (#18556) 8 years ago
var_precedence Initial ansible-test implementation. (#18556) 8 years ago
vault Cyptography pr 20566 rebase (#25560) 7 years ago
vmware_guest_find Add the cloud provider script for the vcenter simulator container (#25964) 7 years ago
vyos_banner Add vyos_banner implementation module (#25862) 8 years ago
vyos_command Increase python version coverage for tests. (#24762) 8 years ago
vyos_config Run `save` inside config mode. (#23977) 8 years ago
vyos_user Add vyos_user implementation module (#25677) 8 years ago
wait_for wait_for: add some integration tests (#25553) 8 years ago
wait_for_connection wait_for_connection: Wait for system to become reachable (#20011) 8 years ago
win_acl_inheritance win_acl_inheritance: Added tests and formatting improvements (#25382) 8 years ago
win_async_wrapper Fix spelling mistakes (comments only) (#25564) 8 years ago
win_chocolatey Do not run `win_chocolatey` in CI tests. 8 years ago
win_command Fix broken Shippable 8 years ago
win_copy Added win_copy recursive integration test with trailing path separator. (#24523) 8 years ago
win_dsc New module: win dsc (#24872) 8 years ago
win_environment win_environment: Added tests and return info in document (#25064) 8 years ago
win_feature Initial ansible-test implementation. (#18556) 8 years ago
win_fetch Remove `win_fetch` from CI due to instability. 8 years ago
win_file Added fix for win_file with broken symlinks (#19146) 8 years ago
win_find Fix spelling mistakes (comments only) (#25564) 8 years ago
win_firewall win_firewall: check-mode support, integration tests (#25127) 8 years ago
win_firewall_rule win_firewall_rule: Implement idempotency, check-mode and diff support (#23162) 8 years ago
win_get_url Test www.redhat.com instead of docs.ansible.com. 8 years ago
win_group Initial ansible-test implementation. (#18556) 8 years ago
win_lineinfile Initial ansible-test implementation. (#18556) 8 years ago
win_msi Initial ansible-test implementation. (#18556) 8 years ago
win_owner win_owner: added tests and fixed up bool handling (#25088) 8 years ago
win_package Initial ansible-test implementation. (#18556) 8 years ago
win_path keep unsafe .. unsafe (#23742) 8 years ago
win_ping Increase python version coverage for tests. (#24762) 8 years ago
win_psexec Disable unstable win_psexec integration test. 8 years ago
win_psmodule New module: Add module to install/remove/register/unregiser windows powershell modules (windows/win_psmodule) (#23604) 7 years ago
win_raw re-enable non-pipelined mode for Powershell (#25012) 7 years ago
win_reg_stat Fix spelling mistakes (comments only) (#25564) 8 years ago
win_regedit Adds integration test steps to win_regedit test to cover Extras 2090 (#15641) 8 years ago
win_region Added win_region module (#19147) 8 years ago
win_regmerge minor spelling changes 8 years ago
win_route New module: Add module to add/remove a network static route on windows (windows/win_route) (#23405) 8 years ago
win_scheduled_task Allow win_scheduled_task to support adding and removing task paths (#24025) 8 years ago
win_script re-enable non-pipelined mode for Powershell (#25012) 7 years ago
win_service Fix spelling mistakes (comments only) (#25564) 8 years ago
win_setup Initial ansible-test implementation. (#18556) 8 years ago
win_share win_share: Add integration tests and various fixes (#25691) 7 years ago
win_shell force Windows to always use preamble-free UTF8 input encoding (#22934) 8 years ago
win_shortcut Fix integration aliases. 8 years ago
win_slurp Initial ansible-test implementation. (#18556) 8 years ago
win_stat win_stat change return islink to islnk to match stat (#23196) 8 years ago
win_tempfile win_tempfile: Added integration tests (#25069) 8 years ago
win_template Windows: Use the correct newline sequence for the platform (#21846) 8 years ago
win_timezone win_timezone: Add diff support, integration tests (#25284) 8 years ago
win_user Initial ansible-test implementation. (#18556) 8 years ago
xattr add xattr integration tests to ci (#24950) 8 years ago
yum Installroot OS version check fix (#20180) 8 years ago
yum_repository added integration tests for yum repository (#25671) 8 years ago
zypper Refactor zypper version parsing and handling (#24056) 8 years ago
zypper_repository Add test for auto_import_keys in zypper_repository (#17898) 8 years ago