4c04b8c7c3
IncludedFile: store _from args for proper deduplication ( #85628 )
...
* IncludedFile: store _from args for proper deduplication
Fixes #66497
Co-authored-by: Matt Martz <matt@sivel.net >
2025-08-07 15:52:47 -04:00
Abhijeet Kasurde and GitHub
9ed7164ed6
service_facts: Handle KeyError while processing service name ( #85572 )
...
* service_facts: Handle KeyError while processing service name
As a part of follow up review,
* Handle KeyError with exception handling
* Warn user about the missing service name in the given service details
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-08-07 15:16:52 -04:00
faf86ca2b3
Add temporary module result serialization hook ( #85609 )
...
* Add temporary module result serialization hook
* Sanity test fix
---------
Co-authored-by: Matt Clay <matt@mystile.com >
2025-08-04 16:43:59 -07:00
ca5871f256
add fragments to return ( #72635 )
...
* ansible-doc add ability to use doc_fragments for RETURN
---------
Co-authored-by: Felix Fontein <felix@fontein.de >
2025-08-04 16:58:44 -04:00
Sloane Hertel and GitHub
945516c209
ansible-galaxy - remove internal path when using AnsibleCollectionConfig.collection_paths ( #85596 )
...
* remove internal collections earlier to ignore consistently for different sub-commands
* remove internal collection handling from the dependency resolver
* add a test to ensure ansible._protomatter is not in the output of ansible-galaxy collection list
* fix existing test to ensure an error is given if no valid collection path is configured
* changelog
2025-08-04 13:45:26 -04:00
Abhijeet Kasurde and GitHub
97b2242b78
wrapt: Bump version from 1.15.0 to 1.17.2 ( #85500 )
...
Fixes : #85407
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-07-31 11:35:16 -04:00
Patrick Kingston and GitHub
817f0af239
pip - fix reporting changed for empty venv creation ( #85556 )
...
* Add correct empty venv creation handling
Makes the module exit with changed=True
when an empty venv is created with correct
module output
* Add tests for creating an empty venv
2025-07-31 10:11:04 -04:00
Martin Krizek and GitHub
c0256d6edf
dnf/dnf5: address issues discovered in 2.16 yum tests ( #83659 )
...
Fixes #85554
2025-07-31 15:08:30 +02:00
Matt Clay and GitHub
dc5209a3fd
ansible-test - Replace TypeVar usage ( #85603 )
2025-07-30 19:04:47 -07:00
Matt Clay and GitHub
5083eaffc6
Eliminate more TypeVar and ParamSpec usage ( #85602 )
2025-07-30 17:51:55 -07:00
Matt Clay and GitHub
f2612fbe3a
Drop Python 3.11 controller support ( #85590 )
2025-07-30 16:39:38 -07:00
Matt Clay and GitHub
8aad1418f6
Ignore failing unarchive test on FreeBSD ( #85601 )
2025-07-30 22:42:38 +00:00
Brian Coca and GitHub
29a298a617
test fix to avoid permissions issue ( #85598 )
2025-07-30 12:54:44 -07:00
Matt Martz and GitHub
f51e626c32
Move the shell target to group4 controller ( #85594 )
...
* Move the shell target to group4 controller
* rename shell target to shell-plugins
2025-07-30 10:25:13 -07:00
5faa256178
ansible-galaxy, dont display internals ( #85571 )
...
Also note broken test for invalid collection paths
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com >
2025-07-30 15:08:12 +00:00
Maxime and GitHub
340ca1b493
Fix code typo in docstring of DataLoader ( #85570 )
2025-07-29 14:59:47 -07:00
Martin Krizek and GitHub
fcb829f724
Fix incorrect return value type of _copy_included_file ( #85472 )
2025-07-29 20:36:36 +02:00
Martin Krizek and GitHub
ac5eb232e9
Do not re-add tags on blocks from within import_tasks ( #85471 )
2025-07-29 11:11:23 -05:00
Abhijeet Kasurde and GitHub
e62cfa2c02
test: correct variable in debug ( #85529 )
...
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-07-29 11:08:29 -04:00
Matt Clay and GitHub
62dc40ce1c
Update azure-pipelines-test-container ( #85578 )
2025-07-28 18:29:00 -07:00
Matt Clay and GitHub
5fbce46dcf
ansible-test - Update pinned sanity test requirements ( #85577 )
2025-07-29 01:19:34 +00:00
Matt Clay and GitHub
6b2b665ef7
Add support for Python 3.14 and drop Python 3.8 ( #85576 )
2025-07-28 16:16:14 -07:00
Matt Clay and GitHub
647e7409eb
Avoid mocker fixture in copy unit tests ( #85575 )
...
The mocker fixture does not clean up mocks early enough, which can cause problems for pytest infrastructure.
2025-07-28 22:04:36 +00:00
Matt Clay and GitHub
43a20c9f68
Fix paramiko deprecation unit test ( #85573 )
...
The unit test previously assumed paramiko was installed, and would fail if it was not.
2025-07-28 20:47:14 +00:00
Matt Clay and GitHub
9b266da14f
ansible-test - Update containers and remotes ( #85562 )
2025-07-26 01:43:40 +00:00
Matt Clay and GitHub
58c9f48029
ansible-test - Replace FreeBSD 14.2 with 14.3 ( #85561 )
...
* ansible-test - Replace FreeBSD 14.2 with 14.3
* Fix CA bundle search priority
2025-07-25 18:09:37 -07:00
Matt Clay and GitHub
2e71e5aeb9
ansible-test - Replace RHEL 9.5 with 9.6 ( #85558 )
2025-07-25 22:11:24 +00:00
Matt Clay and GitHub
35830cb054
ansible-test - Fix coverage config ( #85555 )
2025-07-25 14:39:03 -07:00
Abhijeet Kasurde and GitHub
ea238c9eb5
tqm: Use correct warning methods ( #85434 )
...
* Use display.error_as_warning instead of self.warning
* Use display.error_as_warning instead of display.warning_as_error.
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-07-24 21:35:30 -07:00
Matt Clay and GitHub
ee297bb7ca
ansible-test - Limit bootstrap package install retries ( #85544 )
2025-07-24 21:09:30 -07:00
Matt Clay and GitHub
853752a3eb
ansible-test - Upgrade to coverage 7.10.0 ( #85541 )
2025-07-24 21:09:06 -07:00
Abhijeet Kasurde and GitHub
181dbdbf27
filter: update integration tests ( #84990 )
...
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-07-24 15:37:15 +00:00
Matt Clay and GitHub
cdb7af094b
ansible-test - Use OS packages on FreeBSD 13.5 ( #85530 )
2025-07-23 21:42:45 +00:00
Brian Coca and GitHub
19f9c66004
plugin config options are now correctly fetched with origin ( #85488 )
...
* also update callbcacks, since they override these functions
due to backwards compat _options being taken for CLI
2025-07-23 11:49:14 -04:00
a0d56d2f4f
Usage of 'sleep' parameter in ansible.builtin.wait_for_connection ( #85435 )
...
Signed-off-by: Aditya Putta <puttaa@yahoo.com >
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua >
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com >
2025-07-22 19:51:20 +00:00
2fbd7c114e
Rewrite exception key on failed_when: false ( #85516 )
...
* Prevents callback handle_exception from displaying the captured exception when the task is not failed.
* Added tests.
Co-authored-by: Matt Clay <matt@mystile.com >
2025-07-22 17:39:54 +00:00
737c68ace3
Add install_python_debian parameter to deb822_repository ( #85487 )
...
* Add python3-debian dependency installation in module
* Add tests to exercise automatic dependency installation
* Fix broken tests to include new module parameter
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com >
2025-07-22 11:48:33 -04:00
Abhijeet Kasurde and GitHub
d2be8684b3
Remove deprecated py3compat.environ call ( #85501 )
...
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-07-22 11:27:50 -04:00
Abhijeet Kasurde and GitHub
a2427e45df
docs: use correct URL in docs ( #85491 )
...
* wait_for: use correct URL in docs
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-07-22 11:18:38 -04:00
Abhijeet Kasurde and GitHub
19c7ec6ed2
Distribution: Added UCS in Debian OS Family ( #85496 )
...
* Identify Univention Corporate Server as Debian OS Family.
Fixes : #85490
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-07-22 11:16:52 -04:00
Brian Coca and GitHub
8c3d23513f
removed removed acceleration keywords ( #85507 )
2025-07-18 14:15:19 -04:00
3882366585
Add AnsiballZ debugging support with debugpy ( #85476 )
...
* Add AnsiballZ debugging support with debugpy
Adds support for debugging AnsiballZ modules with debugpy which is used
by VSCode as its Python debugger DAP. Debugging can either be done
through a manual Debugpy listening server through a launch.json
configuration or through the new ansible-test --dev-debug-on-deman
argument.
* Fix up integration test
* Simplify config option and move mypy ignore
* Use new API if available and fix typo
* Guard the import of debugpy
* Fix sanity import issue
* Minor cosmetic adjustments
* Simplify debugger setup
* ansible-test - Refactor debugging interface
* Add ansible-test debug integration tests
* Fix ansible-test shell when in unsupported dir
---------
Co-authored-by: Matt Clay <matt@mystile.com >
2025-07-18 14:51:40 +10:00
eb5e57a8f0
six: bump version from 1.16 to 1.17 ( #85478 )
...
Fixes : #85408
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com >
2025-07-16 04:21:17 +00:00
Matt Martz and GitHub
ee96f8e912
Use the API task URI directly for polling collection imports ( #85419 )
2025-07-15 13:50:56 -04:00
Brian Coca and GitHub
319dca2ea8
meta: clear_host_errors, clarify what this applies to ( #85463 )
...
* meta: clear_host_errors, clarify what this applies to
It clears host for selection, but does not change state in the current iterator.
* also update example
2025-07-10 15:05:22 -04:00
Sloane Hertel and GitHub
da6735160d
Fix passing callbacks the delegated connection, host, port, and user ( #85397 )
...
Fix ssh plugin host variables. Variable names should conform to Python variable naming rules.
, and not contain characters like "[" or "]".
Update unit test
2025-07-08 10:12:42 -04:00
Martin Krizek and GitHub
c24b187f88
dnf/dnf5: remove deprecated install_repoquery option ( #85440 )
...
https://github.com/ansible/ansible/issues/85410
2025-07-08 10:58:19 +02:00
Martin Krizek and GitHub
e4135b6f19
yum_repository: remove deprecated keepcache option ( #85441 )
2025-07-08 10:57:35 +02:00
Abhijeet Kasurde and GitHub
8207406306
Fixed string type in tags fieldattribute ( #84655 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2025-07-07 11:44:19 -07:00
34f2f39abe
json filter: update docs ( #84989 )
...
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
Co-authored-by: Brian Coca <bcoca@users.noreply.github.com >
Co-authored-by: Matt Clay <matt@mystile.com >
2025-07-07 17:06:08 +00:00