summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-04-19wip: Fix become_user with FreeBSDfix/become_user+freebsd-v2.4.13cos
Details at https://www.netizen.se/docs/ansible-chmod
2023-12-11New release v2.14.13 (#82401)v2.14.13Matt Martz
2023-12-11[stable-2.14] Additional Unsafe fixes (#82376) (#82381)Matt Martz
* Allow older pickle protocols to pickle unsafe classes. Fixes #82356 * Address issues when iterating or getting single index from AnsibleUnsafeBytes. Fixes #82375 * clog frag (cherry picked from commit afe3fc1)
2023-12-11[backport-2.14] Replace FreeBSD 13.1 with 13.2 in CI and ansible-test (#82398)Sviatoslav Sydorenko (Святослав Сидоренко)
* [backport-2.14] Add FreeBSD 13.2 to ansible-test (#80698) (cherry picked from commit d12aa7f69cefddf8b849a93186d4afd8e6615bc5) * [backport-2.14] remove Freebsd 13.1 from test matrix (#81058) * remove Freebsd 13.1 from test matrix fixes #80416 Co-authored-by: Matt Clay <matt@mystile.com> (cherry picked from commit 534f688a53f076691f93041726931e4b218e9769) * Revert to the original Python versions for the branch Co-authored-by: Matt Martz <matt@sivel.net> --------- Co-authored-by: Brian Coca <bcoca@users.noreply.github.com> Co-authored-by: Matt Martz <matt@sivel.net>
2023-12-06[backport][stable-2.14] 🧪 Replace GitHub SVN integration test with local ↵Sviatoslav Sydorenko
TLS (#82370) * [backport][stable-2.14] 🧪 Replace GitHub SVN integration test with local TLS PR #82334 * Run svn integration test locally with TLS This patch uses a `trustme` to make an ephemeral CA, and server, and client TLS artifacts for testing. These are integrated into the Apache web server via it's `mod_ssl`. Resolves #82207 * Replace GitHub SVN HTTPS URL w/ localhost over TLS This change gets rid of the need to use GitHub, which is just about to drop support for SVN [[1]]. Moreover, it eliminates the need to use external network for any SVN commands in the test. [1]: https://github.blog/2023-01-20-sunsetting-subversion-support/ (cherry picked from commit dd0138ba2127eac0e809d68e00ae117df56db77e) * Implement compat w/ opensuse15, centos7 & rhel7/8
2023-12-04Update Ansible release version to v2.14.12.post0. (#82351)Matt Martz
2023-12-04New release v2.14.12 (#82348)Matt Martz
2023-12-04Fix various issues in unsafe_proxy (#82326) (#82330)Matt Davis
- Use str/bytes directly instead of text_type/binary_type - Fix AnsibleUnsafeBytes.__str__ implementation - Fix AnsibleUnsafeBytes.__format__ return type - Remove invalid methods from AnsibleUnsafeBytes (casefold, format, format_map) - Use `chars` instead of `bytes` to match stdlib naming - Remove commented out code (cherry picked from commit 59aa0145d26602f2f5ae5196f77a45acfcbbbd1e) Co-authored-by: Matt Clay <matt@mystile.com>
2023-12-04[stable-2.14] Install upgraded crun from edge (#81833). (#82342)Matt Martz
(cherry picked from commit e78cc1e60244fb6cb26ccbdd510b63e20fbf3297)
2023-11-27Update Ansible release version to v2.14.12rc1.post0. (#82306)Matt Martz
2023-11-27New release v2.14.12rc1 (#82303)Matt Martz
2023-11-27Ensure that unsafe is more difficult to lose [stable-2.14] (#82295)Matt Martz
* Ensure that unsafe is more difficult to lose * Add Task.untemplated_args, and switch assert over to use it * Don't use re in first_found, switch to using native string methods * If nested templating results in unsafe, just error, don't continue (cherry picked from commit 586f1924512b01305f896d9ae4732773023013a3) * ci_complete
2023-11-27add pep668 note to pip module docs (#82096) (#82100)Matt Davis
(cherry picked from commit 3ea5304a5726fbcd2207091e77a5e95d2ab9fb43)
2023-11-27ansible-pull: expand destinantion directoy to avoid purgin in / (#82030) ↵Brian Coca
(#82223) * expand destinantion directoy to avoid purgin in / bad things could happen and help alone is not enough (cherry picked from commit 8825e60add98f3400497928105a0747cbfa2346f)
2023-10-23[stable-2.14] ansible-test - Fix parsing of cgroup entriesMatt Clay
(cherry picked from commit e933d9d8a6155478ce99518d111220e680201ca2) Co-authored-by: Matt Clay <matt@mystile.com>
2023-10-23[stable-2.14] Fix subversion integration test (#82029)Matt Clay
- Remove dependency on the htpasswd module (and thus passlib) - Fix setup/teardown of the httpd process - Fix cleanup of temporary directories. (cherry picked from commit 09d943445c49c119e90787a5d28703c0d70a9271) Co-authored-by: Matt Clay <matt@mystile.com>
2023-10-13ansible-test - Use Azure for Windows 2012/2012-R2 (#81972)Matt Clay
2023-10-09Update Ansible release version to v2.14.11.post0. (#81937)Matt Martz
2023-10-09New release v2.14.11 (#81934)Matt Martz
2023-10-04win_fetch - improve test time by not scanning Win dir (#81884) (#81886)Jordan Borean
(cherry picked from commit dfc62589f6dfd5282b21158bcd85078428c06c96)
2023-10-03Update Ansible release version to v2.14.11rc1.post0. (#81871)Matt Martz
2023-10-03New release v2.14.11rc1 (#81862)Matt Martz
2023-10-02Fix reporting role as not found when remote_data is None (#81829) (#81836)Sloane Hertel
(cherry picked from commit 7fab5525630f725e8e5ddb184c251bf6b9d7e53c)
2023-10-02ansible-galaxy fix scm dependency error (#81599) (#81799)Brian Coca
* ansible-galaxy fix scm dependency error also changed usage of 'virtual colleciton' to actual type avoid error by filtering out virtual collections that dont have expected properties simplified as per webknjaz * Update lib/ansible/galaxy/collection/__init__.py Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> (cherry picked from commit 2aef0406d403f8daf4a9eed40cce3e08bb8ee122)
2023-09-27winrm - make command input more resiliant (#81538) (#81792)Jordan Borean
* winrm - make command input more resiliant * Expand warning message (cherry picked from commit f22231de203450128dbfcd3277799d759d861abd)
2023-09-27fix various Jinja plugin caching issues (#79781) (#81644)Matt Davis
* fix various Jinja plugin caching issues * consolidate the wrapper plugin cache * remove redundant cache in J2 filter/test interceptor * intra-template loader bypass * fix early exits swallowing some exception detail * misc comment cleanup (cherry picked from commit dd79c49a4de3a6dd5bd9d31503bd7846475e8e57)
2023-09-27[stable-2.14] Prevent roles from using symlinks to overwrite files outside ↵Matt Martz
of the installation directory (#81780) (#81786) * Sanitize linkname during role installs * Add tests * add clog frag. (cherry picked from commit ddf0311c63287e2d5334770377350c1e0cbfff28)
2023-09-12Update Ansible release version to v2.14.10.post0. (#81685)Matt Martz
2023-09-11New release v2.14.10 (#81682)Matt Martz
2023-09-05Update Ansible release version to v2.14.10rc1.post0. (#81641)Matt Martz
2023-09-05New release v2.14.10rc1 (#81636)Matt Martz
2023-09-05[stable-2.14] tarfile: Handle deprecation warning for extract and extractall ↵Matt Martz
(#81545) (#81633) * Python 3.11.4 introduces a new parameter 'filter' in extract and extractall in tarfile. Handle deprecation warning message emitted in Python 3.12. * added probing mechanism in ansible-galaxy code to detect broken data filter implementation in tarfile. Fixes: #80832 (cherry picked from commit 1cc5efa) Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
2023-08-31PowerShell - remove uneeded dotnet code for future compatibility (#81472) ↵Jordan Borean
(#81576) (cherry picked from commit f3976117fb109f31401271af4c60b740368ac3c8)
2023-08-22[stable-2.14] ansible-test - Always use managed entry points (#81537) (#81540)Matt Clay
(cherry picked from commit 390e508d27db7a51eece36bb6d9698b63a5b638a)
2023-08-16[stable-2.14] Remove obsolete text from release.py PR template (#81526) (#81528)Matt Clay
(cherry picked from commit 9afaf2216b0bf38cfbd9a0c93409959f78d01820)
2023-08-14[stable-2.14] Fix f-string whitespace in release script (#81477) (#81479)Matt Clay
(cherry picked from commit 85d3305889e71f70db27081279c89068fbad8b98)
2023-08-14[stable-2.14] Clean up release script (#81488) (#81490)Matt Clay
* Enable mypy for the entire packaging directory * Return CompletedProcess only when capturing output This allows stdout/stderr on CompletedProcess to be `str` instead of `str | None`. The unused args on CompletedProcess have been removed. Overload type hints have been added to reflect these changes. * Relax return type on ensure_venv This improves consistency with its usage, since `run` accepts `env` of `dict[str, t.Any]`. Also removed unnecssary `str()` usage when updating `env`. * Fix type hint on suppress_when * Fix callable annotation * Add type hint for command_parser PyCharm complains about using a protected member, and also that it can't find the type in the type stubs. However, mypy properly recognizes the type. * Avoid unnecessary TypeVar usage. (cherry picked from commit 47ab59753c2a91aef8823ccf4f4b7bc61d2efe03)
2023-08-14Replace FreeBSD 12.3 w/ 12.4 in CI & ansible-test (#81497)Sviatoslav Sydorenko
FreeBSD 12.3 bootstrap packages stopped being available.
2023-08-14Update Ansible release version to v2.14.9.post0. (#81510)Matt Clay
2023-08-14New release v2.14.9 (#81507)Matt Clay
2023-08-07Update Ansible release version to v2.14.9rc1.post0. (#81461)Matt Martz
2023-08-07New release v2.14.9rc1 (#81458)Matt Martz
2023-08-03[stable-2.14] Overhaul package-data sanity test (#81427) (#81438)Matt Clay
The sanity test now only inspects the sdist and wheel instead of trying to install the sdist using setup.py.. (cherry picked from commit f894ce89b4db25a5bd50da2d48ab77ace3491487)
2023-08-03[stable-2.14] ansible-test - Update source layout detection (#81418) (#81435)Matt Clay
(cherry picked from commit c52551499486009afdd91b301d7c5f711093369d)
2023-08-03fixed become page link in PE error message (#81391) (#81394)Brian Coca
(cherry picked from commit 0b9d83ccdbc6e00bbec46f036c12cbfadfc8fc64)
2023-08-03The split filter was added in ansible-core 2.11. (#81275) (#81290)Felix Fontein
(cherry picked from commit b771e597931b803ff6380fb69f0cea8172c95699)
2023-08-03Module docs fixes. (#81213) (#81235)Felix Fontein
(cherry picked from commit dce51f4ff427231993158c6b10411b58ea4a0c5e)
2023-08-03[stable-2.14] Update update-sanity-requirements.py script (#81424) (#81432)Matt Clay
Frozen requirements can now preserve any explicitly installed package that would normally be omitted, not just setuptools. (cherry picked from commit dbb3feddaf663aa5901b0254a7b259e99c0eae72)
2023-08-03[stable-2.14] Revert "define code owners to support branch-protection rules ↵Matt Clay
on docs (#81041)" (#81228) (#81429) This reverts commit 91177623581490af0455307f6c8e26312b04b4a0. (cherry picked from commit 7c6564ad0ecfe5075005788aab3f112ea6759a90)
2023-08-02[stable-2.14] Clean up MANIFEST.in (#81415)Matt Clay
* Clean up MANIFEST.in (#80688) * Remove unnecessary MANIFEST.in commands This eliminates more setuptools warnings during build. * Sort MANIFEST.in Now that only include commands are used, the order of the commands no longer effects the build output. (cherry picked from commit 6e325d9e4dbdc020eb520a81148866d988a5dbc5) * Omit hacking directory from MANIFEST.in (#81245) * Omit `hacking` directory from `MANIFEST.in` * Update package-data sanity test (cherry picked from commit b93a628aed2feb1a0ff68858d356895a79578149)