Commit Graph
55158 Commits
Author SHA1 Message Date
sivel / Matt MartzandGitHub 876085b520 New release v2.19.8rc1 (#86664) v2.19.8rc1 2026-03-16 11:43:19 -05:00
Matt ClayandGitHub 1713ade9d2 [stable-2.19] ansible-test - Add support for GitHub Actions (#86643) (#86646)
(cherry picked from commit dfdada96d7)
2026-03-16 08:51:27 -05:00
Matt ClayandGitHub f2ff8b0be1 ansible-test - Add managed test environment aliases (#86592) (#86651)
(cherry picked from commit 3300932a74)
2026-03-16 08:51:18 -05:00
Brian CocaandGitHub 53ac737fd0 config lookup, fallback to existing constants when needed (#86516) (#86560)
(cherry picked from commit 8730acbb2d)
2026-03-12 23:22:34 +00:00
Matt ClayandGitHub ca467213da [stable-2.19] Fix YAML string loading using Python loader (#86421) (#86576)
(cherry picked from commit 7d281b2a7c)
2026-03-12 17:40:05 -05:00
Matt DavisandGitHub 8c901420ab Fix network module failures on tagged RPC responses (#86601) (#86606)
Fix network module failures on tagged RPC responses

* Zap tags in networking JsonRpcServer before pickling responses.
* Verify with unit test - suboptimal, but avoids a fake network connection plugin.

(cherry picked from commit a287389124)
2026-03-12 16:42:12 -05:00
Matt DavisandGitHub eb4503d2ce Update Ansible release version to v2.19.7.post0. (#86589) 2026-02-24 00:38:25 +00:00
Matt DavisandGitHub 4c498f7b9a New release v2.19.7 (#86584) v2.19.7 2026-02-23 23:02:39 +00:00
Matt DavisandGitHub 65d9556f9c Update Ansible release version to v2.19.7rc1.post0. (#86569) 2026-02-17 19:22:08 +00:00
Matt DavisandGitHub 57d892dfa2 New release v2.19.7rc1 (#86565) v2.19.7rc1 2026-02-17 18:25:55 +00:00
David ShrewsburyandGitHub 8632c88e52 Fix local connection interaction with become plugins (#86473) (#86510)
The local connection plugin is incorrectly passing a bytearray to methods of become plugins that expect bytes. A recent change to the su plugin exposed this by breaking the become plugin for different locale settings (the bytearray was not properly converted to a str for comparison operations). This changes the local connection plugin to send bytes.

(cherry picked from commit 90595736ed)
2026-02-11 11:48:58 -06:00
Jordan BoreanandGitHub 3015db96fb Action make_tmp_path fix error (#86505) (#86512)
Fixes the error to only include the command rather than the dataclass
repr. This goes back to how it worked in the past before `_mkdtemp2` was
added.

(cherry picked from commit 2c1fdfe0eb)
2026-02-11 11:48:46 -06:00
Abhijeet KasurdeandGitHub c4fc531445 [stable-2.19] config: Correct config in COLLECTIONS_PATHS (#86514) (#86523)
(cherry picked from commit 03776e3)

Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com>
2026-02-11 11:48:32 -06:00
Matt ClayandGitHub ce12ff21f6 [stable-2.19] ansible-test - Update spare-tire URL (#86477) (#86497)
(cherry picked from commit 7f7884fc4f)
2026-01-30 23:09:28 +00:00
Matt ClayandGitHub ee1bb07bfe [stable-2.19] ansible-test - Update the Ansible Core CI endpoint (#86455) (#86500)
(cherry picked from commit ade3d2c3ff)
2026-01-30 23:01:11 +00:00
sivel / Matt MartzandGitHub 747002233a Update Ansible release version to v2.19.6.post0. (#86489) 2026-01-29 20:05:10 +00:00
sivel / Matt MartzandGitHub 6534675290 New release v2.19.6 (#86485) v2.19.6 2026-01-29 13:19:58 -06:00
Matt ClayandGitHub 35a8b6aff6 [stable-2.19] Fix direct S3 link in integration tests (#86464) (#86466)
Also add a sanity test to prevent similar issues in the future.

(cherry picked from commit b1bc1e2513)
2026-01-26 15:47:52 -08:00
Matt DavisandGitHub 500a3326bf Update Ansible release version to v2.19.6rc1.post0. (#86453) 2026-01-23 02:14:51 +00:00
Matt DavisandGitHub 6b1c746c1e New release v2.19.6rc1 (#86449) v2.19.6rc1 2026-01-23 01:18:31 +00:00
561d4c0b8b Fix LIB env var incorrectly set to "System.Collections.DictionaryEntry" (#86436) (#86439)
This is a fix for a common issue where Ansible is setting the LIB env var to the data type (System.Collections.DictionaryEntry) and not the actual value.

It unfortunately causes downstream issues if you run PowerShell scripts that are affected by the LIB variable not being a search path, but an incorrect string. It causes Add-Type to fail on even the simples call (like `Add-Type "using System;"`

(cherry picked from commit a0b3c7c0d6)

Co-authored-by: Dag Wieers <dag@wieers.com>
2026-01-21 09:41:42 -08:00
Brian CocaandGitHub e9a8a448dd ansible_local should not trigger deprecation (#86234) (#86302)
* ansible_local should not trigger deprecation

fixes #86228

(cherry picked from commit ca6dc93dcc)
2026-01-14 14:16:47 -08:00
Jordan BoreanandGitHub 5cb8ed99a8 winrm - Add better Kerberos error (#86317) (#86323)
* winrm - Add better Kerberos error

Adds a better error when Kerberos authentication is requested but the
`pykerberos` library is not installed. This also removes the fallback to
basic auth if the username is in the UPN format and no transport/auth
method is specified. This is because a UPN user must be a domain account
and domain accounts cannot be used with basic auth.

* Add more docs about user settings

* Fix some grammar issues

(cherry picked from commit 595b4f0390)
2026-01-14 13:52:10 -08:00
Sloane HertelandGitHub 3a9910be2e Fix module_defaults templating for gather_facts, service, and package actions (#85857) (#86400)
* Ensure action plugins template module arguments from module_defaults as necessary

(cherry picked from commit f2357cdc53)
2026-01-14 13:50:07 -08:00
Abhijeet KasurdeandGitHub dcaa0437f0 [stable-2.19] Misc typo fix (#86322) (#86339)
(cherry picked from commit 039b94c)

Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com>
2026-01-14 13:46:53 -08:00
Matt ClayandGitHub dcf862fad2 ansible-test - Replace RHEL 10.0 with 10.1 (#86387) (#86390)
(cherry picked from commit 3df8aeed80)
2026-01-07 17:19:02 -08:00
Matt ClayandGitHub 0373215a22 ansible-test - Upgrade to RHEL 9.7 (#86374) (#86377)
(cherry picked from commit 6c024e24b4)
2026-01-05 18:15:20 -08:00
sivel / Matt MartzandGitHub 0187af7fb9 Update Ansible release version to v2.19.5.post0. (#86315) 2025-12-09 18:32:19 +00:00
sivel / Matt MartzandGitHub a3ce7a556e New release v2.19.5 (#86311) v2.19.5 2025-12-09 10:24:02 -06:00
sivel / Matt MartzandGitHub 10d29c3105 Update Ansible release version to v2.19.5rc1.post0. (#86289) 2025-12-02 23:52:54 +00:00
sivel / Matt MartzandGitHub 4c49d633c2 New release v2.19.5rc1 (#86285) v2.19.5rc1 2025-12-02 23:15:03 +00:00
236efefef9 vars loading, show file name instead of vars in error (#86277) (#86281)
* Show file instead of vars on load error

(cherry picked from commit 490795770f34120adc02b08fc24fc50be6ac68a2)
(cherry picked from commit 11a2d02bf2)

* merged

* Update lib/ansible/vars/manager.py



---------


(cherry picked from commit 335db20951)

Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
2025-12-02 16:40:18 -06:00
55c6f879f7 runtime-metadata sanity test: ignore pre-release and build identifier (#85198) (#86160)
* Ignore pre-release and build identifier.

* Add tests.

* Improve changelog fragment.



* Extend tests.

---------


(cherry picked from commit 89ba882b08)

Co-authored-by: Matt Clay <matt@mystile.com>
2025-11-24 09:19:07 -06:00
281e2e6104 Fix AnsibleModule.human_to_bytes (#85259) (#86174)
* Fix AnsibleModule.human_to_bytes.

* Add unit test.

* Fix wrong example in docstring.

* Forgot tests without keyword.



* Apply review suggestions.

* Add type hints.



---------



(cherry picked from commit 13a7393cfe)

Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com>
Co-authored-by: Matt Clay <matt@mystile.com>
2025-11-24 09:18:58 -06:00
Abhijeet KasurdeandGitHub 876731e6a1 [stable-2.19] get_url: Fix regex for GNU digest line (#86134) (#86216)
* GNU digest line may contain multiple spaces between
  checksum and filename. Fix regex to handle this situation.

Fixes: #86132
(cherry picked from commit af9009b)

Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com>
2025-11-24 09:18:46 -06:00
b4c6af0ac1 [stable-2.19] Fix first_found example (#86224) (#86226)
(cherry picked from commit ce84d31)

Co-authored-by: Matt Clay <matt@mystile.com>
2025-11-24 09:18:35 -06:00
Matt ClayandGitHub 9963ec18e8 [stable-2.19] ansible-test - Improve AZP commit API error handling (#86197) (#86202)
(cherry picked from commit 3d26431e4f)
2025-11-14 12:49:10 -08:00
b2db2a0e00 [stable-2.19] 🧪 Set timeouts for CI jobs (#86108)
Sometimes, AZP would mark steps in jobs as cancelled when they've
actually exited successfully but on the boundary of the default
60-minute timeout. Such logs might be difficult to reason about.

Additionally, `entry-point.sh` sets a 60-minute timeout for the main
test invocation but it would never trigger earlier that AZP would kill
such a job as the job-global timeout was 60 minutes already and it'd
always be hit earlier than the test runner one.

The patch sets maximum observable job timeouts with extra buffer to
account for flakiness.

PR #86073
(cherry picked from commit 730af32)

Co-authored-by: Matt Clay <matt@mystile.com>
2025-11-14 11:12:05 -08:00
🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко)andGitHub 2657bd7ee5 [stable-2.19] Install xt_comment kernel mod @ iptables test (#86187) (#86194)
This patch fixes integration test jobs running under RHEL 10.0 that don't have this extension pre-installed.

(cherry picked from commit 69c9fbed26)
2025-11-14 10:21:57 -08:00
Matt ClayandGitHub f5d6ac95c0 [stable-2.19] Fix unit test serialization (#86163) (#86165)
This allows the test to work on pytest 9+

(cherry picked from commit 76f07034b3)
2025-11-10 18:36:40 -08:00
Matt DavisandGitHub 6ae23de585 Update Ansible release version to v2.19.4.post0. (#86130) 2025-11-05 00:23:03 +00:00
Matt DavisandGitHub d0473c98ba New release v2.19.4 (#86125) v2.19.4 2025-11-04 15:27:03 -08:00
Matt DavisandGitHub bc4905c885 Update Ansible release version to v2.19.4rc1.post0. (#86098) 2025-10-29 21:57:21 +00:00
Matt DavisandGitHub 735f238853 New release v2.19.4rc1 (#86094) v2.19.4rc1 2025-10-29 20:01:58 +00:00
Sloane HertelandGitHub 1cec559552 Task.resolved_action - fix resolving static actions consistently for callback plugins (#85524) (#85646)
* Resolve static actions when the FQCN is already known or demanded by a callback plugin

shorthand syntax (e.g. "- ping:") is resolved by ModuleArgsParser

action/local_action syntax (e.g. "- action: ping") is resolved on demand

* Emit a warning if a callback plugin accesses the property when it's None. This is expected if action/local_action is a template and a callback plugin uses this value too early (like in v2_playbook_on_task_start) or late (like in v2_runner_on_ok for a task with a loop).

(cherry picked from commit 15e9f51e2d)
2025-10-29 11:57:02 -07:00
Brian CocaandGitHub 0e82bdb5e5 option deprecations show alternatives (#86032) (#86068)
Give users a helpful hint on what to do to address the deprecation

(cherry picked from commit 516a114ef6)
2025-10-29 11:22:27 -07:00
Abhijeet KasurdeandGitHub 153ecb2b8e [stable-2.19] package_facts: typecast bytes to string while returning facts (#85939) (#86047)
Fixes: #85937
(cherry picked from commit ef53d63)

Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com>
2025-10-29 11:21:07 -07:00
eb67bba287 config lookup, fix 'show_origin' and variables (#85356) (#86042)
show_origin and variable sources were broken for base config when 'forked' from plugins
---------
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>

(cherry picked from commit 1cb2932c95)
2025-10-29 11:18:56 -07:00
b104a05792 [stable-2.19] Remove AddType warning for cleanup (#86029) (#86038)
* Remove AddType warning for cleanup (#86029)

Removes the warning emitted when using Add-Type and the cleanup of temp
files fails due to a file still being in use. The cleanup should be
handled by AnsibleModule on exit giving it more time to wait for any
open file handles to close. The exception is still present if calling
`Add-CSharpType` without an `AnsibleModule` object.

(cherry picked from commit 99bb587906)

* Update win_exec_wrapper integration test to match #86029 (#86052)

* Remove assertion now that there is no warning

(cherry picked from commit df34bf9e70)

---------

Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
2025-10-29 11:14:22 -07:00
Martin KrizekandGitHub 33ee48c590 [stable-2.19] Avoid the ssh-agent exiting before tests end (#85979) (#86007)
There were couple of occurrences where the hard 30 seconds limit on
running ssh-agent was not enough for the test to run and the ssh-agent
was killed resulting in the test failing with "Connection refused". This
change just lets the agent run in the background and kills it
manually after the tests finish.
(cherry picked from commit 05d5b0f168)
2025-10-29 11:13:27 -07:00