summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/until (unfollow)
Commit message (Collapse)AuthorFilesLines
48 hourstest coverage for virtual/sysctl.py (#84356)Abhijeet Kasurde2-16/+147
* test coverage for virtual/sysctl.py Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2 daysChanged human_to_bytes input to a string (#84336)Sammy Hori1-1/+1
For it to be a human readable description it can't be an int.
2 daysAdded examples for password_hash (#84322)Abhijeet Kasurde1-0/+8
Fixes: #84318 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2 daysfix documentation about avoiding apt_key (#84326)Lorenzo Bettini1-1/+1
2 daysAdd ansible_uptime_seconds support for AIX (#84321)Tobi2-0/+36
Added ansible_uptime_seconds fact for AIX Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
2 daysAdditional tests for lookup_sequence (#84315)Abhijeet Kasurde1-0/+13
* Additional tests for lookup_sequence * Follow up for https://github.com/ansible/ansible/pull/83758, to add tests for stride parameter. --------- Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2 daysRemoved deprecated include_delegate_to param (#84306)Abhijeet Kasurde3-7/+4
* Removed deprecated include_delegate_to param * Remove deprecated include_delegate_to param from get_vars API in manager.py Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> * Make ignore.txt Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 dayspackage_facts: extend note about python3-rpm to cover Fedora 41+ (#84373)Adam Williamson1-1/+1
Fedora 41 no longer has python3-rpm installed by default either, so package_facts blows up on Fedora 41 hosts unless you make sure python3-rpm is installed first. Not sure we can do a lot about this besides extending this note. Signed-off-by: Adam Williamson <awilliam@redhat.com>
8 daysansible-test - fix coverage for test modules (#84366)Jordan Borean9-5/+83
Fixes the coverage path translation for modules located in integration test paths. Instead of trying to match by the unique temporary path name that the module is executed as, the reporting tool will translate it to the static path that the module is actually located under.
10 daysTest aliases fix (#84377)Lee Garrett15-0/+20
* integrity tests: Tag (destructive) root tests as such - apt_key needs root to touch the apt key database - debconf needs root to change debconf values of system packages - gathering writes to /etc/ansible/*, writeable only to root - group creates system groups - noexec mounts/umounts a ramdisk - systemd requires root to start/stop services Mark all except noexec as "destructive" as they change the state of the system. * integration test cron requires root, as it calls setup_cron * integration test dpkg_selection runs dpkg as root * integration test facts_linux_network requires root It adds/removes IP addresses from network interfaces, requiring root for that. * integration test package requires root installs/removes system packages * Integration test service requires root Creates/starts/stops/removes systemd services * integration test user requires root to create users * integration tests using setup_test_user require root --------- Co-authored-by: Lee Garrett <lgarrett@rocketjump.eu>
14 daysdnf5,apt: add auto_install_module_deps option (#84292)Martin Krizek5-61/+132
* dnf5,apt: add auto_install_module_deps option Fixes #84206
2024-11-19ansible-test - Improve container network detection (#84323)Matt Clay2-4/+10
When detection of the current container network fails, a warning is now issued and execution continues. This simplifies usage in cases where the current container cannot be inspected, such as when running in GitHub Codespaces.
2024-11-19dnf5 - consolidate package resolving settings (#84335)Martin Krizek3-8/+42
Fixes #84334
2024-11-19dnf5: fix is_installed check (#84275)Martin Krizek4-1/+67
Fixes #84259
2024-11-14include_vars - fix including new hash variables when hash_behaviour is set ↵Sloane Hertel3-3/+6
to merge (#84303)
2024-11-14Sequence query fix (#83758)James Ramsaran3-7/+48
Co-authored-by: flowerysong <junk+github@flowerysong.com>
2024-11-12vars/varnames more examles more varied (#84300)Brian Coca2-7/+20
also ref each other in seealso as they will commonly be used toghether
2024-11-12Deprecated libvirt_lxc_noseclabel config (#84287)Abhijeet Kasurde2-1/+7
* Deprecated libvirt_lxc_noseclabel config * deprecate moved libvirt_lxc_noseclabel config Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> * Make CI green I Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> --------- Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2024-11-12Add tests for deprecations (#84284)Abhijeet Kasurde2-3/+12
* Check for module deprecation * Check for module option deprecation * Check for plugin deprecation Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2024-11-12package_facts fix empty packages on foreign mgr (#83855)Brian Coca3-3/+57
* package_facts fix empty packages on foreign mgr return the first package manager that provides output add tests with fake rpm on apt machines
2024-11-12Fix runas become SYSTEM logic (#84280)Jordan Borean3-35/+123
Fixes the logic when attempting to become the SYSTEM user using the runas plugin. It was incorrectly assumed that calling LogonUser with the SYSTEM username would produce a new token with all the privileges but instead it creates a copy of the existing token. This reverts the logic back to the original process and adds in new logic to avoid any tokens that are restricted from creating new processes.
2024-11-11ansible-test - align 2025 connection defaults to CI matrix (#84291)Jordan Borean1-1/+1
2024-11-09Increase scope of mypy sanity test (#84288)Matt Clay16-170/+104
* Increase scope of mypy sanity test * Fix issues reported by mypy
2024-11-08Add support for Windows Server 2025 (#84285)Jordan Borean4-1/+14
Adds Windows Server 2025 to the testing matrix.
2024-11-07command module, fix docs to reflect reality (#84191)Brian Coca1-7/+6
though the previous docs were the 'intended' outcome, the current behaviour has been active for a long time and should not be removed due to backward compatibility issues. One thing we can do going forward is deprecate substitution enabled by default.
2024-11-07ansible-test - Replace FreeBSD 13.3 with 13.4 (#84236)Matt Clay9-20/+20
* ansible-test - Replace FreeBSD 13.3 with 13.4 * ansible-test - Fix typos in bootstrap.sh * Skip libfaketime on FreeBSD except FreeBSD 14
2024-11-07remove ignore clauses for module uri (#83642)Alexei Znamensky3-1/+3
Co-authored-by: flowerysong <junk+github@flowerysong.com>
2024-11-07user: create Buildroot subclass as alias to Busybox (#83666)Brandon Bennett2-0/+8
Fixes: #83665
2024-11-06Add --flush-cache option to ansible-pull (#84211)Sloane Hertel5-1/+18
2024-11-06update ansible-galaxy resolvelib requirement to >= 0.5.3, < 2.0.0 (#84218)Sloane Hertel5-9/+13
* Update resolvelib upperbound to 2.0.0 Minor SemVer releases should not contain breaking changes * Test the latest minor release and reduce number of resolvelib versions tested for efficiency
2024-11-06ansible-test - Fix interactive cmd traceback (#84264)Matt Clay5-5/+43
2024-11-05Fixed ipv6 pattern in parse_address (#84237)spyinx3-2/+6
2024-11-05Removed deprecated STRING_CONVERSION_ACTION (#84245)Abhijeet Kasurde6-25/+3
Fixes: #84220 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2024-11-05Python binary should not be python at first try for env-setup.fish (#84212)Daniel Gonçalves1-15/+15
2024-11-05Link to role argspec docs. Fixes #84164 (#84192)Matt Martz1-1/+4
2024-11-02test: fix check_required_by (#84153)Abhijeet Kasurde2-34/+14
* Update the documentation for check_required_by * Fix return value for check_required_by (now returns empty list on success) Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2024-11-01Improvements for the create-bulk-issues.py script (#84235)Matt Clay1-3/+35
* Improve error handling for create-bulk-issues.py * Add support for setting assignee * Add example YAML to feature --help output. * Add additional help message for token issues.
2024-11-01Remove encrypt unit tests for undocumented algorithms, which are disallowed ↵Sloane Hertel1-7/+0
in 2.19. (#84219)
2024-10-31encrypt: raise error on passing unsupported passlib hashtype (#84186)Abhijeet Kasurde4-19/+8
* Raise an AnsibleFilterError when unsupported passlib hashtype is provided in do_encrypt. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2024-10-30Add --flush-cache option for ansible and ansible-console (#84149)anvitpusalkar5-12/+23
* Allow CLIs that accept inventory options to flush the inventory cache(s) and fact cache Fixes #83749
2024-10-30Fix returning unreachable for looped tasks (#84049)Sloane Hertel4-0/+52
* Fix returning unreachable for looped tasks Add tests for ignore_unreachable and loop
2024-10-29Add a test using ignore_errors as a variable (#84175)Sloane Hertel4-2/+33
* Add a regression test for https://github.com/ansible/ansible/issues/32384
2024-10-29Remove deprecated pycompat24 and importlib (#84161)Abhijeet Kasurde6-127/+8
* Removed deprecated pycompat24 and importlib Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> * Make CI green Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> * Ignore basic.py Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> * Make CI green III Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> * Make CI green IV Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> --------- Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2024-10-29Change changelog type from bugfixes to removed_features (#84158)Abhijeet Kasurde1-1/+1
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2024-10-29Remove deprecated plural form of collection path (#84156)Abhijeet Kasurde3-10/+4
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2024-10-25Enable file module to disable diff_mode (#83700)Conner Crosby6-0/+56
Several tasks within the modification_time.yml and state_link.yml task lists have explicitly enabled diff_mode because these tests previously assumed a diff attribute would always be returned from the file module.
2024-10-25docs: print deprecation collection name (#84126)Abhijeet Kasurde5-3/+11
While showing the deprecation message, mention the collection name from which the module is removed. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2024-10-25Preserve `_ansible_no_log` from action result; fix `include_vars` to set ↵Matt Davis15-46/+157
properly (#84143) * fixes for CVE-2024-8775 * propagate truthy `_ansible_no_log` in action result (previously superseded by task-calculated value) * always mask entire `include_vars` action result if any file loaded had a false `show_content` flag (previously used only the flag value from the last file loaded) * update no_log tests for CVE-2024-8775 * include validation of _ansible_no_log preservation when set by actions * replace static values with dynamic for increased robustness to logging/display/callback changes (but still using grep counts :( ) * changelog * use ternary, coerce to bool explicitly
2024-10-24user module avoid conflicts ssh pub key (#84165)Brian Coca5-5/+132
Remove pub key if we are going to generate private fix tests for os X
2024-10-23Remove deprecated compat.selector (#84155)Abhijeet Kasurde4-66/+3
* Removed files related to selector compat Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>