1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-27 06:33:25 +00:00
Commit graph

3990 commits

Author SHA1 Message Date
patchback[bot]
43681361a7
[PR #12350/3e239e58 backport][stable-11] snap: fix misspelling (#12352)
snap: fix misspelling (#12350)

(cherry picked from commit 3e239e5853)

Co-authored-by: Shane Frasier <maverick@maverickdolphin.com>
2026-06-25 19:14:15 +02:00
patchback[bot]
e243049478
[PR #12327/77e1e047 backport][stable-11] Mention AI policy in contributing guide (#12340)
Mention AI policy in contributing guide (#12327)

* Mention AI policy in contributing guide.

* Improve formulation.



---------


(cherry picked from commit 77e1e047b8)

Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2026-06-24 06:28:48 +02:00
Felix Fontein
ade1bec4ed
[stable-11] AZP: Generate CI matrix and run tests with antsibull-nox (#12330)
* AZP: Generate CI matrix and run tests with antsibull-nox.

* Update aliases test.

* Fix wrong remote name.
2026-06-23 20:27:03 +02:00
patchback[bot]
b48c2dcf22
[PR #12323/b4a23bfa backport][stable-11] dpkg_divert tests: make them work when ansible-test is run with --display-traceback error (#12324)
dpkg_divert tests: make them work when ansible-test is run with `--display-traceback error` (#12323)

Make dpkg_divert also work when ansible-test is run with --display-traceback error.

(cherry picked from commit b4a23bfa1f)

Co-authored-by: Felix Fontein <felix@fontein.de>
2026-06-22 16:49:45 +00:00
Felix Fontein
b57bcc9359
[stable-11] build(deps): bump actions/checkout from 6 to 7 in the ci group (#12316) (#12320)
build(deps): bump actions/checkout from 6 to 7 in the ci group (#12316)

Bumps the ci group with 1 update: [actions/checkout](https://github.com/actions/checkout).

Updates `actions/checkout` from 6 to 7
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: ci
...



(cherry picked from commit 91fbe5df54)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-22 10:19:28 +02:00
Felix Fontein
e028100fbe Use community.crypto 2.x.y with ansible-core 2.17 as well.
(cherry picked from commit 6d637d537e)
2026-06-22 06:53:19 +02:00
Felix Fontein
2bb42c8469
[stable-11] CI: Run GHA integration tests with antsibull-nox (#12314)
Run GHA integration tests with antsibull-nox.
2026-06-22 06:20:48 +02:00
Felix Fontein
5afc184e40
[stable-11] CI: Add integration test sessions to antsibull-nox (#12309)
Add CI integration test sessions to antsibull-nox.
2026-06-21 23:12:02 +02:00
patchback[bot]
e537ff6def
[PR #12303/69dd1edc backport][stable-11] CI: Don't install community.internal_test_tools for sanity tests (#12304)
CI: Don't install community.internal_test_tools for sanity tests (#12303)

Don't install community.internal_test_tools for sanity tests.

(cherry picked from commit 69dd1edc40)

Co-authored-by: Felix Fontein <felix@fontein.de>
2026-06-21 22:49:18 +02:00
Felix Fontein
afb708fb87 The next release will be 11.4.10. 2026-06-14 12:04:04 +02:00
Felix Fontein
b41dd19c92
Release 11.4.9. 2026-06-14 11:20:26 +02:00
Felix Fontein
ae9cce33f3
[stable-11] [stable-12] Re-enable most filesystem tests (#12258) (#12261) (#12263)
* [stable-12] Re-enable most filesystem tests (#12258) (#12261)

Re-enable most filesystem tests (#12258)

* Re-enable most filesystem tests.

* Fix conditionals (ansible-core 2.19).

* Fedora also needs gfs2-utils.

* fatresize seems to be broken on Ubuntu.

* Install util-linux-extra on Debian/Ubuntu.

* Fix conditionals.

* Temporarily disable bcachefs tests on Arch (and thus on all platforms).

(cherry picked from commit ed8afeb16b)
(cherry picked from commit 0345ef2db6)

* Improve condition.
2026-06-14 06:51:11 +02:00
patchback[bot]
3c0854aa70
[PR #12253/5be28987 backport][stable-11] CI: Homebrew: trust 3rd-party taps (#12254)
CI: Homebrew: trust 3rd-party taps (#12253)

Trust 3rd-party taps.

(cherry picked from commit 5be28987b5)

Co-authored-by: Felix Fontein <felix@fontein.de>
2026-06-13 21:29:22 +02:00
patchback[bot]
460610b991
[PR #12209/f20f0d9c backport][stable-11] iptables_state integration tests: improve skip conditions (#12210)
iptables_state integration tests: improve skip conditions (#12209)

Improve skip conditions.

(cherry picked from commit f20f0d9cf9)

Co-authored-by: Felix Fontein <felix@fontein.de>
2026-06-09 17:48:41 +02:00
patchback[bot]
be51438056
[PR #12191/57ad07a9 backport][stable-11] CI: Remove FreeBSD 14.2 (#12192)
CI: Remove FreeBSD 14.2 (#12191)

Remove FreeBSD 14.2 from CI.

It seems to be finally EOL, with mirrors removed.

(cherry picked from commit 57ad07a94e)

Co-authored-by: Felix Fontein <felix@fontein.de>
2026-06-05 07:21:44 +00:00
patchback[bot]
d5ce18c5c4
[PR #12182/4d66b3da backport][stable-11] opkg - path_prefix needs to be a list (#12188)
opkg - path_prefix needs to be a list (#12182)

* opkg - path_prefix needs to be a list

path_prefix is passed to get_bin_path() which expects opt_dirs to be a list
of paths. Passing in a string instead of a list of paths results in incorrect
values being adding to the path when searching for the command to run.

* Add changelog

(cherry picked from commit 4d66b3dae8)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2026-06-05 07:34:37 +02:00
patchback[bot]
ecef2e0648
[PR #12167/97b464de backport][stable-11] version_sort filter: fix example's description (#12169)
version_sort filter: fix example's description (#12167)

Fix description in example of community.general.version_sort filter

Example had some left overs, that were not aligned with code.
It was explaining conversion between tuples and dict. But example here maps list of strings to list of strings.

(cherry picked from commit 97b464deb3)

Co-authored-by: juremedvesek <jure.medvesek@xlab.si>
2026-06-02 21:05:45 +02:00
patchback[bot]
a7e84579e5
[PR #12168/1e3da48d backport][stable-11] portage: include msg in depclean failure fail_json (#12172)
portage: include msg in depclean failure fail_json (#12168)

cleanup_packages() called module.fail_json(cmd=, rc=, stdout=, stderr=)
without the mandatory msg= argument. When the underlying emerge --depclean
exited non-zero, AnsibleModule.fail_json() itself crashed with
"AnsibleModule.fail_json() missing 1 required positional argument: 'msg'"
before the real failure could reach the controller, leaving users with no
diagnostic about why depclean actually failed.

Same wording style as the sibling install_packages() failure branch
("Packages not installed.").

(cherry picked from commit 1e3da48d70)

Co-authored-by: Yoann Gauthier-Colin <yoann@gwerlas.net>
2026-06-02 21:05:34 +02:00
Felix Fontein
08bb3e9db1 Forgot to update schedules.
(cherry picked from commit bb710480b1)
2026-06-01 20:27:31 +02:00
Felix Fontein
4a0b1a03a6 Prepare 11.4.9. 2026-05-31 18:00:04 +02:00
patchback[bot]
6e63ae73af
[PR #12157/7d8bf179 backport][stable-11] CI: improve nox GHA workflow (#12158)
CI: improve nox GHA workflow (#12157)

* Auto-cancel older PR nox runs.

* Use shared workflow.

(cherry picked from commit 7d8bf179e7)

Co-authored-by: Felix Fontein <felix@fontein.de>
2026-05-31 17:58:37 +02:00
patchback[bot]
878bc0d5c6
[PR #12128/a794ccf1 backport][stable-11] zpool: reduce disk usage in integration tests by using sparse files (#12134)
zpool: reduce disk usage in integration tests by using sparse files (#12128)

* zpool: use sparse files in integration tests to reduce diskspace usage

* changelog: add PR link to zpool disk space fragment

* remove changelog fragment for test-only change

(cherry picked from commit a794ccf127)

Co-authored-by: Shreyashxredhat <shrbhosa@redhat.com>
2026-05-30 15:11:16 +02:00
patchback[bot]
0556a189a5
[PR #12115/38399c81 backport][stable-11] CI: Update Azure Pipelines test container (#12116)
CI: Update Azure Pipelines test container (#12115)

Update Azure Pipelines test container.

(cherry picked from commit 38399c8107)

Co-authored-by: Felix Fontein <felix@fontein.de>
2026-05-28 21:59:56 +02:00
RoboticInterface
be9afb4800
xml: false positive python2 string type check bugfix (#12108)
* bugfixes:
  - xml: fix false positive type check failure for string values on Python 2
    hosts, where ``json_dict_bytes_to_unicode`` guarantees unicode output but
    ``isinstance(value, str)`` only matches byte strings.

* changelog fragment for xml false positive type check failure.

* Rename xml-python2-string-isinstance to 12108-fix-xml-python2-string-isinstance

* Rename 12108-fix-xml-python2-string-isinstance to 12108-fix-xml-python2-string-isinstance.yml

* Update changelogs/fragments/12108-fix-xml-python2-string-isinstance.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2026-05-28 21:52:24 +02:00
Felix Fontein
ae76a908d6 Add missing newline.
Ref: https://github.com/ansible-community/antsibull-changelog/pull/217
2026-05-18 20:52:46 +02:00
Felix Fontein
2e1b6d4b9a The next release will be 11.4.9. 2026-05-17 13:39:46 +02:00
Felix Fontein
ee5552ac26
Release 11.4.8. 2026-05-17 12:57:39 +02:00
patchback[bot]
58a7c7fdbe
[PR #12064/9cba458e backport][stable-11] cargo: fix version parsing when state=latest (#12068)
cargo: fix version parsing when `state=latest` (#12064)

* fix(cargo): fix greedy regex in get_latest_published_version

Fixes #8949

* docs(cargo): add changelog fragment for #12064

(cherry picked from commit 9cba458e3e)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2026-05-17 10:31:08 +02:00
patchback[bot]
64cf805b08
[PR #12055/a15d9a35 backport][stable-11] packet_project and packet_sshkey: fix broken example plays (#12057)
packet_project and packet_sshkey: fix broken example plays (#12055)

Fix example plays.

(cherry picked from commit a15d9a3510)

Co-authored-by: Felix Fontein <felix@fontein.de>
2026-05-16 11:13:37 +02:00
patchback[bot]
9c9b8b3ddd
[PR #12047/eb69d25e backport][stable-11] apk: document non-interactive mode requirement (#12050)
apk: document non-interactive mode requirement (#12047)

* apk: document non-interactive mode requirement

* apk: fix file path markup in documentation

Change file path markup from E() to C() in the notes section.



---------


(cherry picked from commit eb69d25e45)

Co-authored-by: Francisco Pereira <113396399+Francisco-xiq@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2026-05-14 21:53:16 +02:00
patchback[bot]
a730ebc644
[PR #11911/fba7da43 backport][stable-11] Remove as maintainer (#12042)
Remove as maintainer (#11911)

Remove ownership

I do not maintain those modules anymore since years. I think the time
has come to remove at least my name from them.

(cherry picked from commit fba7da4394)

Co-authored-by: keachi <1687482+keachi@users.noreply.github.com>
2026-05-14 11:03:44 +02:00
patchback[bot]
f358af361a
[PR #12030/6e48c5fc backport][stable-11] xml: adjust example doc (#12033)
xml: adjust example doc (#12030)

(cherry picked from commit 6e48c5fc4e)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2026-05-13 08:08:06 +02:00
patchback[bot]
4d9f9ab628
[PR #12023/87a42725 backport][stable-11] java_cert/java_keystore: re-enable RHEL tests (#12026)
java_cert/java_keystore: re-enable RHEL tests (#12023)

* java_cert/java_keystore: re-enable RHEL tests

* bump java to version 21 in RHEL

(cherry picked from commit 87a42725e0)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2026-05-10 11:59:16 +02:00
patchback[bot]
36144620b2
[PR #11922/cdd0d252 backport][stable-11] jenkins_credential: improve example and description in documentation (#12015)
jenkins_credential: improve example and description in documentation (#11922)

* Fixes and improvements for better undestanding of the module

- Fixed token generation syntax to use `name` instead of `id`.
- Changed `token: {{ token }}` to `token: {{ token_result.token }}` to show accessing token from the registered variable, essentially making the entire Example section a playbook capable of full execution.
- Added notes in the Example section about the intended approach for storing and accessing tokens.
- Mentioned about not using `id` for token generation in the parameter's description.

* Applying FQCN for the `ansible.builtin.copy` module



* Shortened the notes about storing and accessing Jenkins token.

* Added line breaks to reduce width of the shortened notes

- Added line breaks to reduce the width of the shortened note from commit #5bc225b.
- Numbered and indented the notes for clear distinction.

* Changed token storage example to use INI instead of CSV format

---------


(cherry picked from commit cdd0d2521e)

Co-authored-by: Sonal Karmakar <234934724+sonalkarmakar@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2026-05-09 22:01:18 +02:00
patchback[bot]
558b2bfd76
[PR #11997/240ff653 backport][stable-11] filetree lookup: document RETURN value state (#12009)
filetree lookup: document RETURN value `state` (#11997)

* Clarify 'state' parameter description in filetree.py

Updated the description for the 'state' parameter to clarify entry types and their meanings.

* Apply suggestion from felixfontein related to description



---------


(cherry picked from commit 240ff65311)

Co-authored-by: Santosh Mahale <santoshmahale7676@gmail.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2026-05-07 21:58:51 +02:00
patchback[bot]
6eb8ccd1ea
[PR #11992/2232f8bc backport][stable-11] saltstack connection plugin: add documentation (#12005)
saltstack connection plugin: add documentation (#11992)

docs(saltstack): add requirements, options and notes to connection plugin

Fixes #2463


(cherry picked from commit 2232f8bcc3)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 07:21:20 +02:00
patchback[bot]
9e9d1b637e
[PR #11959/d87a8a16 backport][stable-11] xml: fail for non-string values (#12000)
* xml: fail for non-string `value`s (#11959)

* fix(xml): coerce boolean values to string with a warning

Fixes #7171

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* test(xml): add integration tests for boolean value handling

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* changelog: add fragment for PR 11959

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* adjustments from review

* test(xml): update boolean-value integration tests to expect failure

Now that xml fails on non-string values, replace the old success-path
tests with failure assertions and add a positive test for quoted strings.
Remove the no-longer-needed result XML fixtures.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* adjustments from review

* fix(xml): correct boolean test assertions to match actual error message format

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
(cherry picked from commit d87a8a167f)

* Make Python 2.7 compatible.

Co-authored-by: Felix Fontein <felix@fontein.de>

* Fix typo.

* One more.

---------

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2026-05-06 20:24:55 +02:00
patchback[bot]
b2a1249412
[PR #11972/d7f248fb backport][stable-11] odbc: fetch rows before commit to fix HY010 function sequence error (#11982)
odbc: fetch rows before commit to fix HY010 function sequence error (#11972)

* fix(odbc): fetch rows before committing to fix HY010 function sequence error

Fixes #5395



* chore(odbc): add changelog fragment for PR #11972



---------


(cherry picked from commit d7f248fb01)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-03 12:07:18 +02:00
patchback[bot]
d4324999da
[PR #11975/2e29b320 backport][stable-11] Docs: ohai examples are not YAML (#11977)
Docs: ohai examples are not YAML (#11975)

ohai examples are not YAML.

(cherry picked from commit 2e29b3204d)

Co-authored-by: Felix Fontein <felix@fontein.de>
2026-05-02 21:10:55 +02:00
patchback[bot]
51d4bec698
[PR #11946/72bc48fe backport][stable-11] iso_customize: remove note about pycdlib constraints (#11962)
iso_customize: remove note about pycdlib constraints (#11946)

(cherry picked from commit 72bc48fed4)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2026-05-01 21:47:19 +02:00
patchback[bot]
de5f65105d
[PR #11932/00cff7fe backport][stable-11] lmdb_kv lookup: fix docs (#11938)
lmdb_kv lookup: fix docs (#11932)

(cherry picked from commit 00cff7feb4)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2026-04-29 21:43:00 +02:00
Felix Fontein
607c1ce085 Prepare 11.4.8. 2026-04-22 20:51:54 +02:00
Felix Fontein
ac0c24637a
[stable-11] Replace default favicon URL again (#11909) (#11914)
Replace default favicon URL again (#11909)

* replace default favicon URL

* add changelog fragment for PR 11909

* fix syntax for change fragment



* use higher res favicon by default

---------



(cherry picked from commit d57a667274)

Co-authored-by: Lars Krahl <57526005+mmslkr@users.noreply.github.com>
Co-authored-by: Lars Krahl <lars.krahl@telekom.de>
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2026-04-22 20:17:10 +02:00
Felix Fontein
d7d7395fa0
[stable-11] Move ansible-core 2.18 to EOL CI (#11901) (#11905)
Move ansible-core 2.18 to EOL CI (#11901)

Move ansible-core 2.18 to EOL CI.

(cherry picked from commit 9ef1dbb6d5)
2026-04-20 17:04:26 +02:00
patchback[bot]
4689cc307e
[PR #11898/6b5bf0a0 backport][stable-11] Fix FQCNs in examples (#11900)
Fix FQCNs in examples (#11898)

Fix FQCNs in examples.

(cherry picked from commit 6b5bf0a0bc)

Co-authored-by: Felix Fontein <felix@fontein.de>
2026-04-20 15:17:50 +02:00
Felix Fontein
5da7b7d509 The next release will be 11.4.8. 2026-04-20 13:56:38 +02:00
Felix Fontein
334f8d3708
Release 11.4.7. 2026-04-20 12:33:14 +02:00
patchback[bot]
485b8b9f23
[PR #11812/e2a7dc46 backport][stable-11] sefcontext: flush in-process matchpathcon cache (#11853)
sefcontext: flush in-process matchpathcon cache (#11812)

* fix sefcontext: flush in-process matchpathcon cache after changes

Fixes https://github.com/ansible-collections/community.general/issues/888



* update changelog fragment with PR number and URL



---------


(cherry picked from commit e2a7dc467d)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 18:31:47 +02:00
patchback[bot]
865c96e66c
[PR #11850/f8869af6 backport][stable-11] homebrew_cask: fix sudo_password failing with special characters (#11866)
* homebrew_cask: fix sudo_password failing with special characters (#11850)

* homebrew_cask: fix sudo_password with special characters in password

The SUDO_ASKPASS script embedded the password inside single quotes, which
breaks shell parsing whenever the password contains a single quote. Use a
quoted heredoc (cat <<'SUDO_PASS') instead, which treats the content
completely literally regardless of special characters.

Also replace .file.close() with .flush() (correct semantics — flushes
the write buffer without leaving the NamedTemporaryFile in a half-closed
state) and remove the redundant add_cleanup_file() call (the context
manager already deletes the file on exit).

Fixes #4957

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* homebrew_cask: add changelog fragment for #11850

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* homebrew_cask: fix sudo_password example and clarify ansible_become_password

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* homebrew_cask: use shlex.quote() for sudo_password instead of heredoc

shlex.quote() is the standard Python approach for shell-safe quoting
and handles all special characters without the edge cases of heredocs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
(cherry picked from commit f8869af65f)

* Make Python 2 compatible.

---------

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2026-04-17 18:31:36 +02:00
patchback[bot]
14498b7ad1
[PR #11862/342a76d5 backport][stable-11] Remove unstable CI target (#11869)
Remove unstable CI target (#11862)

Remove unstable CI target.

(cherry picked from commit 342a76d5dd)

Co-authored-by: Felix Fontein <felix@fontein.de>
2026-04-17 18:31:23 +02:00