mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-02-04 07:51:50 +00:00
* 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 Co-authored-by: Felix Fontein <felix@fontein.de> * do not unpack_ip twice Noticed by Felix Fontein <felix@fontein.de> * mention py3k in changelog fragment, too --------- Co-authored-by: Felix Fontein <felix@fontein.de> |
||
|---|---|---|
| .. | ||
| action | ||
| become | ||
| cache | ||
| callback | ||
| connection | ||
| doc_fragments | ||
| filter | ||
| inventory | ||
| lookup | ||
| module_utils | ||
| modules | ||
| plugin_utils | ||
| test | ||