Package: ansible Version: 2.7.7+dfsg-1 Severity: normal Under certain conditions (duplicat vm names, I think) the inventory through the vmware plugin fails with this error:
ERROR! Unexpected Exception, this is probably a bug: Object of type vim.CustomFieldsManager.StringValue is not JSON serializable The bug is reported in ansible [1] and resolved for version 2.8 [2] and version 2.7.9 [3], but debian stable has a previous version (2.7.7). I've tried the patch in [3] and it works for me, it will be great if you can apply the patch to the 2.7.7 package or tou can backport the 2.7.9 or 2.8 in stable. 1. https://github.com/ansible/ansible/issues/53043 2. https://github.com/ansible/ansible/pull/52642 3. https://github.com/ansible/ansible/pull/53047 -- System Information: Debian Release: 10.1 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-6-amd64 (SMP w/8 CPU cores) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages ansible depends on: ii python3 3.7.3-1 ii python3-crypto 2.6.1-9+b1 ii python3-cryptography 2.6.1-3 ii python3-httplib2 0.11.3-2 ii python3-jinja2 2.10-2 ii python3-netaddr 0.7.19-1 ii python3-paramiko 2.4.2-0.1 ii python3-pkg-resources 40.8.0-1 ii python3-yaml 3.13-2 Versions of packages ansible recommends: ii python3-jmespath 0.9.4-1 ii python3-kerberos 1.1.14-2 ii python3-libcloud 2.4.0-1 ii python3-selinux 2.8-1+b1 ii python3-winrm 0.3.0-2 ii python3-xmltodict 0.11.0-2 Versions of packages ansible suggests: pn cowsay <none> ii sshpass 1.06-1 -- no debconf information