summaryrefslogtreecommitdiffstats
path: root/test (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Typo fixes and other bits and bobs (#83672)Lee Garrett2024-07-2777-85/+85
| | | Co-authored-by: Lee Garrett <lgarrett@rocketjump.eu>
* apt: Report change when package is removed (#83547)Abhijeet Kasurde2024-07-252-0/+79
| | | | | | | | | While upgrade process removes a package, module should report changed=True instead of changed=False Fixes: #46314 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* display: warn user about empty log path value (#83381)Abhijeet Kasurde2024-07-231-0/+16
| | | | | Fixes: #79959 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* ansible-test - Remove VyOS tests and support files (#83650)Matt Clay2024-07-2266-6013/+0
| | | The VyOS remote image required for running the tests is no longer functional.
* remove ignore clauses for module find (#83575)Alexei Znamensky2024-07-222-2/+29
| | | | add testcase for expanding home dir names
* Use build instead of pep517 for integration testMatt Clay2024-07-192-4/+3
|
* Revert "🧪 Use `setuptools [core]` @ collections_runtime_pythonpath (#83627)"Matt Clay2024-07-191-1/+2
| | | | This reverts commit 0d5460df16af2c8e082796c6a46cb075060f74c9.
* 🧪 Use `setuptools [core]` @ collections_runtime_pythonpath (#83627)Sviatoslav Sydorenko (Святослав Сидоренко)2024-07-191-2/+1
|
* remove ignore clauses for module lineinfile (#83595)Alexei Znamensky2024-07-181-2/+0
|
* debconf: handle boolean value representation consistently (#83601)Peter A. Bigot2024-07-181-1/+27
| | | | | | | | * lift code that normalizes value type for boolean vtype to cover both branches of conditional. * remove obsolete and incomplete conversion of type in set_selection. Fixes: #83594 Signed-off-by: Peter A. Bigot <pab@pabigot.com>
* replace - fix documentation and remove ignore clauses (#83574)Alexei Znamensky2024-07-181-2/+0
|
* ansible-test - Improve unknown env error message (#83610)Matt Clay2024-07-151-1/+4
|
* remove ignore clauses for module blockinfile (#83577)Alexei Znamensky2024-07-111-2/+0
|
* dnf: follow-up on is_newer_installed arches fix (#83556)Martin Krizek2024-07-091-0/+37
| | | | | | | | | | | | * dnf: follow-up on is_newer_installed arches fix * fix for the non package object case * prevent early bailout in dnf _is_newer_version_installed * non-installed available arches would fail out of the check early --------- Co-authored-by: Matt Davis <nitzmahone@redhat.com>
* ansible-test - Update nios-test-container to 4.0.0 (#83539)Matt Clay2024-07-091-1/+1
|
* ansible-test - Update base/default containers (#83553)Matt Clay2024-07-091-3/+3
|
* Add SL-Micro to Suse family list (#83541)Harshvardhan Sharma2024-07-081-0/+23
|
* Fix Creating user directory using tilde always reports "changed" (#83113)MajesticMagikarpKing2024-07-071-0/+25
| | | | Fixes: #82490
* validate-modules: reject option/alias names equal up to casing belonging to ↵Felix Fontein2024-07-063-0/+90
| | | | | | | | | different options (#83530) * Reject option/alias names equal up to casing belonging to different options. * Update test/lib/ansible_test/_util/controller/sanity/validate-modules/validate_modules/main.py Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
* package_facts: fix warning logic (#83520)flowerysong2024-07-056-0/+61
| | | | | * package_facts: fix warning logic * Refactor so that warnings can work
* linear: fix included handlers executing in lockstep (#83209)Martin Krizek2024-07-044-0/+20
| | | Fixes #83019
* Fix incorrect rc when executing end_host in rescue (#83522)Martin Krizek2024-07-042-0/+10
| | | Fixes #83447
* hostvars templating fix, override serialization (#83509)Brian Coca2024-07-021-0/+2
| | | | fixes #82872 nicer implementation courtesy of nitzmahone
* Fix require_only_one. (#83511)Felix Fontein2024-07-021-1/+1
|
* actually show plugin config warnings/deprecations (#82593)Brian Coca2024-07-0211-7/+316
| | | | | | | | | | | | | | | previouslly we recorded but did not show to avoid spam since we could not dedup from forks, that was already fixed in another PR so now we can show/display them. Also: * funcitonalize deprecation msg construct from docs * reuse formatting func in cli * normalize alternatives: most of the code used intended plural but some and most data/tests used the singular * update schemas and tests Co-authored-by: Matt Davis <6775756+nitzmahone@users.noreply.github.com> Co-authored-by: Felix Fontein <felix@fontein.de>
* Fix tb for when env var contains % (#83499)Martin Krizek2024-06-281-0/+1
| | | | | Fixes #83498 Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
* dnf - arches must be the same in the is_newer_installed check (#83417)Martin Krizek2024-06-281-0/+20
| | | Fixes #83406
* dnf, dnf5: fix installing via wildcard (#83481)Martin Krizek2024-06-261-0/+22
| | | Fixes #83373
* Enable Ubuntu 24.04 group 6 in CI (#83466)Matt Clay2024-06-251-2/+23
| | | | | | | | | * Enable Ubuntu 24.04 group 6 in CI * Disable rootfull Podman on Ubuntu * Disable unix-chkpwd AppArmor profile on Ubuntu for Fedora 40 tests * Document AppArmor and rootfull issues
* linear strategy, show templated task name on start (#83473)Brian Coca2024-06-251-0/+6
| | | we only templated in some cases but when queueing we could get an untemplated name for the 'on start' event.
* Ensure the correct connection name is shown in results (#83354)Brian Coca2024-06-244-2/+49
|
* add support for inactive option (#83355)Thomas Sjögren2024-06-212-0/+75
| | | | Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
* ansible-test - Replace FreeBSD 14.0 with 14.1 (#83477)Matt Clay2024-06-212-3/+3
|
* unarchive: handle content and size differences (#83454)Abhijeet Kasurde2024-06-207-0/+110
| | | | | | | | Consider content differs and size differs while unarchiving the same tar.gz file Fixes: #29610 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* get_url: Verify checksum using tmpsrc, not dest (#64092)Danilo Bargen2024-06-201-0/+43
| | | | | | | | | | | Previously, if the checksum of the downloaded file did not match the specified checksum, the *destination* file was removed. This possibly leaves the system that is being provisioned in an invalid state. Instead, the checksum should be calculated on the temporary file only. If there's a mismatch, delete the *temporary* file, not the destination file. This requires checking the checksum before moving the file.
* ansible-test - Update PyPI and utility container (#83475)Matt Clay2024-06-192-2/+2
|
* ansible-test: update http-test-container to 3.2.0 (#83469)Felix Fontein2024-06-181-1/+1
|
* human_to_bytes: strictly parse strings (#83403)MajesticMagikarpKing2024-06-181-0/+73
| | | Fixes: #82075
* Update the dnf5 copr repo (#83459)Martin Krizek2024-06-181-1/+1
| | | The dnf-nightly is the official nightly repo now.
* ansible-test - Update tested platforms (#83446)Matt Clay2024-06-187-22/+36
| | | | | | | | | | | | | * ansible-test - Update tested platforms * Add work-around for Alpine tests * Fix prepare_http_tests on Fedora * Fix deb-src setup for Ubuntu 24.04+ * Set multiarch_test_pkg for Ubuntu 24.04 * Update AZP test matrix
* Remove timezone support module and tests (#83465)Matt Clay2024-06-183-1008/+0
| | | | | The timezone support module was used only for changing the timezone in the user module integration tests. Changing the timezone for the tests is unecessarily complex for the purpose of asserting proper parsing of user expiration times.
* selinux compat - add ignore, proper ex chaining (#83460)Matt Clay2024-06-171-0/+1
|
* Remove Python 3.10 support for the controller (#83221)Martin Krizek2024-06-175-18/+6
| | | Fixes #83094
* vault: Handle directory value to vault password file (#83384)Abhijeet Kasurde2024-06-151-0/+6
| | | | | | | | | | When vault password file env variable is set to blank, this value is converted to CWD and passed for further processing. Check if ANSIBLE_VAULT_PASSWORD_FILE is not a directory. Fixes: #42960 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* unarchive: Better handling of files with an invalid timestamp in zip file ↵Gilson Guimarães2024-06-131-0/+53
| | | | | | | | (#81520) Fixes: #81092 Signed-off-by: gilsongpfe <gilson.gpf@gmail.com> Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* ansible-test - Update PyPI test container to 3.1.0 (#83432)Matt Clay2024-06-131-1/+1
|
* ansible-test - Fix unit test coverage collection (#83433)Matt Clay2024-06-131-0/+6
|
* ansible-test action-plugin-docs sidecar (#83325)Jordan Borean2024-06-1211-4/+107
| | | | | Fix to have ansible-test sanity --test action-plugin-docs to check for action plugin documentation inside a sidecar file rather than a Python module.
* Revert warning message in setup/gather_facts (#83427)Abhijeet Kasurde2024-06-113-21/+2
| | | Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Add Python 3.13 support (#83416)Matt Clay2024-06-116-5/+8
| | | | | * Add Python 3.13 support * Add temporary work-around for yamllint test