mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-26 21:33:12 +00:00
Improve capabilities module by detecting /sbin/getcap error message and stop early with a meaningful error message (#10455)
* modules/capabilities.py: fail & propagate if getcap command error
* Fix comment spacing (pep8)
* Add changelogs fragment for PR 10455
* Update changelogs/fragments/10455-capabilities-improve-error-detection.yml
---------
(cherry picked from commit bd84f65456)
Co-authored-by: hakril <github@hakril.net>
Co-authored-by: clement rouault <clement.rouault@exatrack.com>
Co-authored-by: Felix Fontein <felix@fontein.de>