1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-09 05:27:17 +00:00
community.general/changelogs/fragments
patchback[bot] cd50836977
[PR #11001/eb6337c0 backport][stable-11] omapi_host: fix bytes vs. str confusion (#11022)
omapi_host: fix bytes vs. str confusion (#11001)

* omapi_host: fix bytes vs. str confusion

After an update of the control node from Debian
bookworm to trixie, the omapi_host module fails to
work with the error message:

Key of type 'bytes' is not JSON serializable by the
'module_legacy_m2c' profile.

https://github.com/ansible/ansible/issues/85937 had the
same error, but the fix is a bit more intricate here
because the result dict is dynamically generated from
an API response object.

This also fixes unpacking the MAC and IP address and
hardware type, which were broken for Python3.

* Merge suggestion for changelog fragment



* do not unpack_ip twice

Noticed by Felix Fontein <felix@fontein.de>

* mention py3k in changelog fragment, too

---------


(cherry picked from commit eb6337c0c9)

Co-authored-by: mirabilos <tg@mirbsd.org>
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-10-30 20:30:00 +01:00
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:17:57 +02:00
11.4.1.yml Prepare 11.4.1. 2025-10-27 19:40:08 +01:00
10891-dict-refactor.yml [PR #10891/5f471b8e backport][stable-11] refactor dict from literal list (#10895) 2025-10-10 19:15:49 +02:00
10918-gitlab-runner-fix-check-mode.yml [PR #10918/7e666a9c backport][stable-11] fix(modules/gitlab_runner): Fix exception in check mode on new runners (#10944) 2025-10-19 09:31:24 +02:00
10933-keycloak-add-client-auth-for-clientsecret-modules.yml [PR #10933/c850e209 backport][stable-11] Add support for client auth in Keycloak cllient secrets module (#10946) 2025-10-19 21:22:44 +02:00
10934-cloudflare-dns-caa-bug.yml [PR #10956/4c7be8f2 backport][stable-11] cloudflare_dns: rollback validation for CAA records (#10957) 2025-10-23 07:05:39 +02:00
10934-cloudflare-dns-srv-bug.yml [PR #10937/2bd44584 backport][stable-11] cloudflare_dns: rollback validation for SRV records (#10938) 2025-10-18 09:47:57 +02:00
10955-pritunl_user-null-missing-params.yaml [PR #10955/e84f59a6 backport][stable-11] fix(pritunl_user): improve resilience to null or missing user parameters (#11014) 2025-10-29 17:15:18 +00:00
10961-terraform-complexvars-null-bugfix.yaml [stable-11] terraform: Fix bug when None values aren't processed correctly (#10961) (#11003) 2025-10-28 20:53:57 +01:00
10965-onepassword-bugfix.yml [PR #10965/ce0d06b3 backport][stable-11] onepassword: extend CLI class initialization with additional parameters (#11007) 2025-10-28 21:38:35 +01:00
11001-omapi.yml [PR #11001/eb6337c0 backport][stable-11] omapi_host: fix bytes vs. str confusion (#11022) 2025-10-30 20:30:00 +01:00
11005-keycloak_user.yml [PR #11005/54af64ad backport][stable-11] keycloak_user: mark credentials[].value as no_log=True (#11012) 2025-10-29 17:15:36 +00:00
replace-random-with-secrets.yml [PR #10893/14a858fd backport][stable-11] random_string: replace random.SystemRandom() with secrets.SystemRandom() (#10894) 2025-10-10 19:15:21 +02:00