capabilities module of ansible 2.5.1 is broken on targets with libpcap >= 2.41

Bug #1970142 reported by Ángel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ansible (Ubuntu)
New
Undecided
Unassigned

Bug Description

Ansible 2.5.1+dfsg-1 as shipped in bionic has a capabilities module which is broken on targets with libpcap >= 2.41

Upstream bugs:
https://github.com/ansible-collections/community.general/issues/993
https://github.com/ansible/ansible/issues/72662

https://github.com/ansible-collections/community.general/commit/07d123a71a5ad769aac4d04e7e189fbf5f957cd8

The easiest fix would simply to replace the bundled capabilities.py with the latest from upstream:
https://github.com/ansible-collections/community.general/blob/main/plugins/modules/system/capabilities.py
(the only other two commits it received are not substantial, they remove ANSIBLE_METADATA and add a FQDN to the EXAMPLES entry)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.