#1122630 ansible: [trixie] community.vmware: some modules fail with an error: replace takes str, not int

Package:
ansible
Source:
ansible
Submitter:
Thorsten Glaser
Date:
2025-12-11 22:49:03 UTC
Severity:
normal
Tags:
#1122630#5
Date:
2025-12-11 22:46:40 UTC
From:
To:
We get bitten by a type confusion but that probably used to work with
older Python versions.

https://github.com/ansible-collections/community.vmware/commit/523d8f0edd03ee331236cb2eed6abb0d43a9d14b.patch
contains the upstream patch, which I hand-applied to the installed
files (not on the system I’m reporting from, but on the same release)
and can confirm works in trixie.

It would be nice to get this fixed for stable.

AFAICT it is fixed in 12.2.0, but I haven’t verified that.