community.general/tests/unit/plugins
patchback[bot] 3d6227d1e2
[PR #10291/47aec260 backport][stable-11] pacemaker_info: new module and enhance cli_action (#10584)
pacemaker_info: new module and enhance cli_action (#10291)

* feat(info): Add pacemaker_info module and enhance cli_action util

This commit adds in the pacemaker_info module which is responsible for
retrieving pacemaker facts. Additionally, the cli_action var has been
refactored for the pacemaker.py util, which is passed through the
runner.

* refactor(version): Bump version_added to 11.2.0

* Apply suggestions from code review



* Update plugins/modules/pacemaker_info.py



* refactor(process): Simplify command output

---------


(cherry picked from commit 47aec26001)

Co-authored-by: Dexter <45038532+munchtoast@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-08-04 20:49:59 +02:00
..
become add systemd run0 as a become method (#8306) 2024-05-11 16:53:44 +02:00
cache Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
callback Callbacks: use ansible-core's version instead of trying to extract it (#10193) 2025-06-02 20:45:18 +02:00
connection [PR #10531/d0b0aff5 backport][stable-11] wsl connection: import paramiko directly (#10534) 2025-08-01 11:18:50 +02:00
filter Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
inventory [PR #10327/5a5b2d2e backport][stable-11] remove unnecessary checks for unsupported python versions (#10330) 2025-07-02 06:58:13 +02:00
lookup [PR #10359/16d6e4a8 backport][stable-11] dependent lookup: avoid deprecated ansible-core 2.19 functionality (#10366) 2025-07-08 06:56:04 +02:00
module_utils [PR #10264/74ed0fc4 backport][stable-11] import mocks from community.internal_test_tools (#10266) 2025-06-17 21:24:13 +02:00
modules [PR #10291/47aec260 backport][stable-11] pacemaker_info: new module and enhance cli_action (#10584) 2025-08-04 20:49:59 +02:00
plugin_utils Use more unit test utils from community.internal_test_tools (#9918) 2025-03-22 13:12:31 +01:00