pids - refactor module to make version-based behavior consistent (#3315) (#3365)

* Initial commit

* Adding changelog fragment

* Further refactoring

* Fixing bad copy/paste and adding task for psutil >= 5.7.0 install

* Inverting psutil installation order to reduce duplication

* Optimizing regex compilation

(cherry picked from commit 118c040879)

Co-authored-by: Ajpantuso <ajpantuso@gmail.com>
This commit is contained in:
patchback[bot] 2021-09-13 07:35:26 +02:00 committed by GitHub
commit 739210c6b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 137 additions and 47 deletions

View file

@ -0,0 +1,4 @@
---
minor_changes:
- pids - refactor to add support for older ``psutil`` versions to the ``pattern`` option
(https://github.com/ansible-collections/community.general/pull/3315).