summaryrefslogtreecommitdiff
path: root/test/integration/targets
Commit message (Collapse)AuthorAgeFilesLines
* [stable-2.9] fix zypper integration test (#76398)Sam Doran2021-11-291-1/+1
| | | Not sure why but changing the URL fixes the download error.
* [stable-2.9] Disable aws_lamdba testSam Doran2021-11-191-0/+1
|
* [stable-2.9] Fix pip integration test.Matt Clay2021-11-091-13/+8
| | | | | | | | - Use `fallible==0.0.1a2` instead of `black==19.10b` - Test on both Python 2 and 3. (cherry picked from commit b6725ec6c994d725cc2190b784a422299fd98385) Co-authored-by: Matt Clay <matt@mystile.com>
* Fix hcloud_location_info testSam Doran2021-11-041-2/+2
| | | | Hetzner added a new datacenter so the tests need to be updated
* Fix hcloud_datacenter_info testSam Doran2021-11-031-2/+2
| | | | A new datacenter was added
* Fix AWS Lambda tests.Matt Clay2021-10-202-13/+13
|
* Skip failing tests on OS X 10.11.Matt Clay2021-09-302-0/+2
|
* Fix win_chocolatey_facts test.Matt Clay2021-09-081-1/+1
| | | | ci_complete
* Disable github_issue test. (#75659)Matt Clay2021-09-081-0/+1
|
* [2.9] Fix dnf package matching (#75411) (#75416)Sloane Hertel2021-08-061-0/+28
| | | | | | | | | | | | | | | | | * Fix dnf package matching (#75411) * Fix a bug with the dnf module not using all components of a package name when filtering to determine if it's installed * changelog * Simplify splitting on the last '.' * Update lib/ansible/modules/dnf.py (cherry picked from commit b541a148d51e75b298e71161c022b12cd8ebba7c) * Fix dnf test assertion (cherry picked from commit 91a26ddcefb393e48ac93d442b3922bf2fde0de7)
* [stable-2.9] allow env to override unspecified unsafe_writes (#73282) (#75397)Matt Martz2021-08-043-0/+86
| | | | | | | | | | | | | | | | | | | | | | | * [stable-2.9] allow env to override unspecified unsafe_writes (#73282) * allow env var for fallback value for unspecified unsafe_writes. (cherry picked from commit c7d4acc12f672d1b3a86119940193b3324584ac0) Co-authored-by: Brian Coca <bcoca@users.noreply.github.com> * ensure unsafe writes fallback (#70722) * Ensure we actually fallback to unsafe_writes when set to true add integration test add fix for get_url not passing the parameter from args (cherry picked from commit 932ba3616067007fd5e449611a34e7e3837fc8ae) * Added clog missing for issue 70722 (#73175) (cherry picked from commit d6670da1d7bc81dccd522d1bc27cc25164ef1aba) Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
* [stable-2.9] Prevent ansible_failed_task from further templating (#74290) ↵Matt Martz2021-07-092-1/+20
| | | | | | | | | | (#75220) * Prevent ansible_failed_task from further templating Fixes #74036 * Add changelog. (cherry picked from commit 664531d7d6253d5bdb182727501c08e3b5aea0c1) Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
* [stable-2.9] Skip docker_container test when running in a containerSam Doran2021-07-071-0/+1
|
* Skip broken test on OS XSam Doran2021-07-071-0/+1
|
* Add constraints for new ruamel release (#75134)Sam Doran2021-06-283-0/+16
| | | Newer releases of ruamel.yaml and ruamel.yaml.clib require newer Python versions.
* [bp-2.9] firewalld: Ensure idempotency (#74992)Abhijeet Kasurde2021-06-142-31/+58
| | | | | Fixes: https://github.com/ansible-collections/ansible.posix/issues/179 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* fix unsafe preservation across newlines (#74960) (#74976)Brian Coca2021-06-112-0/+23
| | | | | | | CVE-2021-3583 ensure we always have unsafe Co-authored-by: Rick Elrod <rick@elrod.me> (cherry picked from commit 4c8c40fd3d4a58defdc80e7d22aa8d26b731353e)
* Skip task for CentOS 8 as well (#74913)Sam Doran2021-06-071-2/+2
| | | | Something change in the packages that was failing on RHEL a few weeks ago. Now it is failing in CentOS 8 as well
* [2.9] [tests] add websocket-client constraint, python 2 (#74750)Rick Elrod2021-05-211-0/+8
| | | | | | | | | | | | | | Change: - websocket-client >= 1 requires python 3, so add constraint for python 2. Test Plan: - ci_complete Signed-off-by: Rick Elrod <rick@elrod.me> * avoid a mysql_variables check on rhel 8 Signed-off-by: Rick Elrod <rick@elrod.me>
* [stable-2.9] Disable rabbitmq integration testsSam Doran2021-05-147-0/+7
|
* [stable-2.9] CI and compat fixes for Jinja2 >= 3.0 (#74666) (#74672)Matt Clay2021-05-128-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [stable-2.9] CI and compat fixes for Jinja2 >= 3.0 (#74666) * Add constraint for MarkupSafe MarkupSafe >= 2.0.0 requires Python >= 3.6.0. Add a constraint for older Python versions and fix the `groupby_filter` test. * Fix template_jinja2_latest test. * patch filter decorators on newer Jinja2 * Jinja2 >= 3.0 renames several filter decorators used by Ansible itself, as well as by filters in collections. This patch ensures that the old names are usable within Ansible and by collections without warnings or errors. * Ignore docs-build issues. * Remove unnecessary ignore. * Disable failing nuage_vspk test. * Fix inventory_aws_conformance integration test. (cherry picked from commit f99d0248517c9dacc4594bc87d54626cdce59bfd) Co-authored-by: Matt Clay <matt@mystile.com> Co-authored-by: Matt Davis <mrd@redhat.com>. Co-authored-by: Sam Doran <sdoran@redhat.com>
* shift a few CI groups [2.9] (#74553)v2.9.21Rick Elrod2021-05-0311-11/+11
| | | | | ci_complete Signed-off-by: Rick Elrod <rick@elrod.me>
* [stable-2.9] incidental_setup_rabbitmq test - Use official repo for ↵Sam Doran2021-05-031-2/+2
| | | | | | | | | rabbitmq-erlang (#74453) Previously it was hosted on bintray, but that service is shutting down on May 1. Using the new repository also required using a newer version of RabbitMQ.. (cherry picked from commit 62cba4a6adc666f1e0100c385de20744002e4c42) Co-authored-by: Sam Doran <sdoran@redhat.com>
* [ansible-test] Sync opensuse containers with 2.10 (#74436)Rick Elrod2021-04-265-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ansible-test] Sync opensuse containers with 2.10 Change: - OpenSuSE 15.1 is now EOL - Switch containers to use what 2.10 uses, which has 15.2. Test Plan: - ci_complete Signed-off-by: Rick Elrod <rick@elrod.me> * docker version Signed-off-by: Rick Elrod <rick@elrod.me> * needs p7zip-full, otherwise we only get 7zr Signed-off-by: Rick Elrod <rick@elrod.me> * Make sure py2 stays py2 Signed-off-by: Rick Elrod <rick@elrod.me> * no wildcard? Signed-off-by: Rick Elrod <rick@elrod.me> * -x instead of --xml Signed-off-by: Rick Elrod <rick@elrod.me>
* Actually run blocks/finalized_task test (#74291) (#74310)Martin Krizek2021-04-261-0/+2
| | | (cherry picked from commit 7fecb7ccc381ef61cadc2702b3df0fc73393077a)
* Disable failing hcloud_server testSam Doran2021-04-231-0/+1
|
* [stable-2.9] find - set proper default based on use_regex (#73961) (#73966)Sam Doran2021-04-051-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using "use_regex: yes" and setting an excludes: without specifying a pattern: the existing code passes the file-glob '*' to the regex matcher. This results in an internal invalid-regex exception being thrown. This maintains the old semantics of a default match-all for pattern: but switches the default to '.*' when use_regex is specified. The code made sense as-is before excludes: was added (2.5). In that case, it made no sense to set use_regex but *not* set a pattern. However, with excludes: it now makes sense to only want to exclude a given regex but not specify a specific matching pattern. Closes: #50067 * moved change to new location added changelog * Update lib/ansible/modules/find.py Co-authored-by: Ian Wienand <iwienand@redhat.com>. (cherry picked from commit 089d0a0508a470799d099d95fc371e66756a00b3) Co-authored-by: Brian Coca <bcoca@users.noreply.github.com> * Update fix_find_default.yml Co-authored-by: Rick Elrod <rick@elrod.me>
* add optional module_utils import support (#73832) (#73916)Matt Davis2021-04-044-6/+103
| | | | | | | | | Treat core and collections module_utils imports nested within any Python block statement (eg, `try`, `if`) as optional. This allows Ansible modules to implement runtime fallback behavior for missing module_utils (eg from a newer version of ansible-core), where previously, the module payload builder would always fail when unable to locate a module_util (regardless of any runtime behavior the module may implement). * sanity test fixes ci_complete (cherry-picked from 3e1f6484d77f2d7546952cfa22a8534d74ed3dc6)
* [stable-2.9] Ensure task from the worker is finalized/squashed (#73881) (#73929)Matt Martz2021-04-042-0/+20
| | | | | | * Ensure task from the worker is finalized/squashed. Fixes #57399. Fixes #49942 (cherry picked from commit 832631b) Co-authored-by: Matt Martz <matt@sivel.net>
* Move file needed by cs_volume test to S3Sam Doran2021-03-171-1/+1
| | | | There is a bad mirror missing the file and it is causing tests to fail.
* Update mongodb replicaset check_compatibility function (#72299)Rhys2021-03-082-1/+2
| | | * Update check_compatibility function
* Backport of https://github.com/ansible-collections/community.docker/pull/88 ↵Felix Fontein2021-03-081-4/+20
| | | | to stable-1. (#73816)
* [stable-2.9] Don't treat host_pinned as lockstep (#73484) (#73513)Matt Martz2021-03-085-0/+86
| | | | | | | | | | | | | | * [stable-2.9] Don't treat host_pinned as lockstep (#73484) * Don't treat host_pinned as lockstep. Fixes #73364 * Add intg tests. (cherry picked from commit d3f3784b86789b7b55782b0af4fba6d6bb935f19) Co-authored-by: Matt Martz <matt@sivel.net> * Make non-lockstep callback tests more deterministic (#73511) (cherry picked from commit 125c220343deb60ad64f4a412e6f670ddb511f4c)
* Backport of ↵Felix Fontein2021-03-081-0/+10
| | | | https://github.com/ansible-collections/community.docker/commit/8702713ac3cca15f8b92804e0a40f7a1ae833b7b (#73638)
* [stable-2.9] Normalize ConfigParser between Python2 and Python3 (#73715) ↵Matt Martz2021-03-072-4/+9
| | | | | | | | | | | | | | (#73724) * [stable-2.9] Normalize ConfigParser between Python2 and Python3 (#73715) * Normalize config parser between py2 and py3 * Add tests and changelog * Use different config entry, since we supply certain env vars. (cherry picked from commit 950ab74758a6014639236612594118b2b6f4751e) Co-authored-by: Matt Martz <matt@sivel.net>
* Move win_uri to a group that does not reboot the test instanceSam Doran2021-03-011-1/+1
| | | | | | | Another test in group3 reboots the test instance, killing the ssh connections needed for access to the httptest container. ci_complete
* Rebalance Windows test groups to avoid timeoutsSam Doran2021-02-242-2/+2
|
* Update signing key used in incidental_setup_flatpak_remote testsSam Doran2021-02-221-0/+0
| | | | | The original key was created using the default expiration time of two years. Signed the repo again using a key that expires in twenty years.
* [stable-2.9]:Fix IOSXR integration test (#73607)Ashwini Mhatre2021-02-221-1/+1
| | | * Fix integration testcase in netconf_config for iosxr
* [mongodb tests] Wait for ports in TIME_WAIT (#73655)Rick Elrod2021-02-185-69/+25
| | | | | | | | | | | | | Change: - The latest mongodb we install causes processes to not die correctly (they end up as zombies), and this causes the ports they listen on to be held in TIME_WAIT. We need to wait for them to fall out of TIME_WAIT before we can continue and use them again. Test Plan: - CI - Local playing in containers Signed-off-by: Rick Elrod <rick@elrod.me>
* postgresql_query: fix datetime.timedelta type handling (#73520)Andrew Klychkov2021-02-071-0/+34
|
* no_log mask suboption fallback values and defaults CVE-2021-20228 (#73487) ↵Jordan Borean2021-02-075-0/+106
| | | | | (#73493) (cherry picked from commit 0cdc410dce6658e93c06fa27e0100ddbb11e7015)
* [setup_rpm_repo test] Ensure rpm-build is present (#73516) (#73515)Rick Elrod2021-02-053-0/+3
| | | | | | | | | | | | | | Change: - Other targets might remove rpm-build as they clean up after themselves. Ensure that it's present in setup_rpm_repo because rpmfluff needs it. Test Plan: - Local experimentation with yum_repository and mysql_db (the latter of which depends on a handler which was removing rpm-build) on stable-2.9. Signed-off-by: Rick Elrod <rick@elrod.me> (cherry picked from commit aca5b0e43be4d7bd067abc6631978b1cdfa75d84)
* [stable-2.9] pause - adjust warning when run in background (#73182) (#73230)Sam Doran2021-02-051-6/+19
| | | | | | | | | | | When the pause module is run in the background and seconds parameter is provided, do not warn. * Add tests * Fix existing tests The test wasn't failing when it should have. (cherry picked from commit 0e6c334115) Co-authored-by: Sam Doran <sdoran@redhat.com>
* postgresql_set: Return a message when a passed parameter has not been found ↵Andrew Klychkov2021-02-051-0/+16
| | | | | (#73286) Co-authored-by: Andrew Klychkov <andrew.klychkov@gmail.com>
* Local vars should have highest precedence in AnsibleJ2Vars (#72830) (#73369)Martin Krizek2021-02-0512-0/+77
| | | | | | | | | | | | | | | | | | | | Ability to add local variables into AnsibleJ2Vars was added in 18a9eff11f0a6e51b17405ce596bd9ff7e676320 to fix #6653. Local variables are added using ``AnsibleJ2Vars.add_locals()`` method when creating a new context - typically when including/importing a template with context. For that use case local template variables created using ``set`` should override variables from higher contexts - either from the play or any parent template, or both; Jinja behaves the same way. Also removes AnsibleJ2Vars.extras instance variable which is not used. Also adds missing test for #6653. Fixes #72262 Fixes #72615 ci_complete (cherry picked from commit a2af8432f36ec8cc5368a747f1211d2b9ba01f2e)
* postgresql_query: fix decimal handling (#73414)Andrew Klychkov2021-02-051-0/+31
| | | Co-authored-by: Andrew Klychkov <andrew.klychkov@gmail.com>
* [2.9] Fix warning for nonexistent inventory cache (#72840) (#73444)Sloane Hertel2021-02-055-0/+84
| | | | | * Fix inventory cache warning by checking if the key exists before loading it (cherry picked from commit 840bdc1e10f1f0d3c8c0ce4109e9724b466202c0)
* [stable-2.9] Make yum_repository test more reliable (#73467)Sam Doran2021-02-0313-74/+138
| | | | | | | | | | | | | * Improve setup_rpm_repo - add handlers to remove repos - add variable to control whethere or not repos are created * Use local repo for all distros * Change repo creation script to module. (cherry picked from commit 997b2d2a1955ccb4e70f805c18dc3e227e86c678) Co-authored-by: Sam Doran <sdoran@redhat.com>
* [2.9] Pass the top level dictionaries to combine_vars (#72979) (#73147)Sloane Hertel2021-01-114-0/+62
| | | | | | | | | combine_vars uses dict.update() to replace keys (cherry picked from commit 5e03e322de5b43b69c8aad5c0cb92e82ce0f3d17) * Add tests for merging and replacing vars from inventory sources (#73181) (cherry picked from commit 9de2da8a7ee1c0219b804b6afc7b090101106743)