1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/changelogs/fragments
patchback[bot] d9c12d1d53
Support older version of psutil (RHEL7 and RHEL6) (#2808) (#3188)
* Support older version of psutil (RHEL7 and RHEL6)

The psutil python module is a true mess, they changed the API twice. The function arguments, as well as the objects that are returned.
The documentation does not make it clear which version supports what so the safest implementation is this waterfall approach.

A better approach would be to inspect the returned information, rather than trust a version, but that would not be any more efficient.
In the end it is better to have something that at least works out-of-the-box on all platforms than something that requires custom updates to system packages before it works as expected. Especially for something as basic as `pids`.

* A little bit more concise

* Apply suggestions from code review

* Add changelog fragment.

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit b5d6457611)

Co-authored-by: Dag Wieers <dag@wieers.com>
2021-08-10 08:08:46 +02:00
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:17:57 +02:00
2.5.5.yml Prepare 2.5.5 release. 2021-08-10 07:52:05 +02:00
2808-pids-older-psutil.yml Support older version of psutil (RHEL7 and RHEL6) (#2808) (#3188) 2021-08-10 08:08:46 +02:00
2816-archive-refactor.yml Manually backporting to stable-2 (#2865) 2021-07-01 07:46:33 +02:00
2923-archive-remove-bugfix.yml archive - fix removal failures for nested files with tar archives (#2923) (#2926) 2021-07-02 21:43:25 +02:00
2924-npm-fix-package-json.yml npm - fix installing from package.json (#2924) (#2928) 2021-07-02 21:57:51 +02:00
2935-lvol-support_check_mode_thinpool.yml lvol: honor check_mode on thinpool (#2935) (#2938) 2021-07-05 21:03:04 +02:00
2936-pacman-fix_changed_status_when_ignorepkg_has_been_defined.yml pacman: fix changed status when ignorepkg has been defined (#2936) (#2944) 2021-07-07 06:53:34 +02:00
2960-launchd-validation-check.yaml launchd - fixed validation check (#2960) (#2975) 2021-07-10 13:49:24 +02:00
2967-proxmox_inventory-offline-node-fix.yml proxmox inventory - fix parsing for offline nodes (#2967) (#2984) 2021-07-10 16:56:01 +02:00
2989-pamd-single-line.yaml pamd - fixed single line issue (#2989) (#3012) 2021-07-14 13:22:01 +02:00
3006-redfish_command-bootoverride-argument-check.yaml Redfish Bootoverride Disable behaves incorrectly (#3006) (#3016) 2021-07-16 19:18:42 +02:00
3034-promox-kvm-return-new-id.yaml Succesful clone from proxmox_kvm should return new vm id, not id from cloned vm. (#3034) (#3082) 2021-07-26 10:42:34 +02:00
3036-archive-root-path-fix.yml [PR #3036/31189e96 backport][stable-2] archive - fixing determination of archive root when root is '/' (#3065) 2021-07-25 09:52:37 +02:00
3041-fix_gitlab_group_members_gitlab_project_mambers.yml gitlab_group_members/gitlab_project_members - fix pagination issue (#3054) (#3060) 2021-07-24 21:24:15 +02:00
3052_proxmox_inventory_plugin.yml proxmox inventory plugin: Easy fix (#3052) (#3058) 2021-07-24 20:58:13 +02:00
3067-taiga-bugfix.yaml taiga_issue - bugfix + pythonification (#3067) (#3076) 2021-07-25 23:15:22 +02:00
3074-ini_file-3031-empty-value-inconsistency.yml [PR #3074/2831bc45 backport][stable-2] ini_file: fix empty-value vs. no-value inconsistency (#3181) 2021-08-09 16:31:24 +02:00
3080-java_cert-2460-import_private_key.yml java_cert: import certificate+key bundle from pkcs12 (#3080) (#3085) 2021-07-26 11:58:11 +02:00
3084-info-checkmode.yaml [stable-2] added supports_check_mode=True to info/facts modules (#3095) 2021-07-28 07:42:07 +02:00
3093-ejabberd_user-refactor.yaml ejabberd_user - refactoring and simplification (#3093) (#3099) 2021-07-28 08:57:26 +02:00
3104-deploy_helper-required_if.yaml deploy_helper - changed in-code condition to required_if (#3104) (#3107) 2021-07-29 08:04:13 +02:00
3139-tss-lookup-plugin-update-to-make-compatible-with-sdk-v1.yml Updated the tss lookup plugin to reflect breaking changes introduced in the underpinning SDK (#3139) (#3151) 2021-08-05 22:41:29 +02:00
3161-openbsd-pkg-fix-regexp-matching-crash.yml openbsd_pkg: Fix regexp matching crash (#3161) (#3185) 2021-08-09 23:02:49 +02:00