Files
community.general/plugins/modules
Dexter 283d947f17 pacemaker_cluster: enhancements and add unit tests (#10227)
* feat(initial): Add unit tests and rewrite pacemaker_cluster

This commit introduces unit tests and pacemaker_cluster module rewrite
to use the pacemaker module utils.

* feat(cleanup): Various fixes and add resource state

This commit migrates the pacemaker_cluster's cleanup state to the
pacemaker_resource module. Additionally, the unit tests for
pacemaker_cluster have been corrected to proper mock run command order.

* doc(botmeta): Add author to pacemaker_cluster

* style(whitespace): Cleanup test files

* refactor(cleanup): Remove unused state value

* bug(fix): Parse apply_all as separate option

* refactor(review): Apply code review suggestions

This commit refactors breaking changes in pacemaker_cluster module into
deprecated features. The following will be scheduled for deprecation:
`state: cleanup` and `state: None`.

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

* refactor(review): Additional review suggestions

* refactor(deprecations): Remove all deprecation changes

* refactor(review): Enhance rename changelog entry and fix empty string logic

* refactor(cleanup): Remove from pacemaker_resource

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

* refactor(review): Add changelog and revert required name

* revert(default): Use default state=present

* Update changelogs/fragments/10227-pacemaker-cluster-and-resource-enhancement.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update changelog fragment.

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2025-07-14 07:48:36 +02:00
..
2024-12-27 14:29:15 +01:00
2024-12-27 14:29:15 +01:00
2024-12-31 12:47:19 +13:00
2024-12-31 12:47:19 +13:00
2024-12-27 14:29:15 +01:00
2025-07-04 06:26:16 +02:00
2024-12-27 14:29:05 +01:00
2024-12-26 21:53:20 +01:00
2024-12-29 13:42:22 +01:00
2024-12-29 13:30:26 +01:00
2024-12-26 21:53:20 +01:00
2024-12-26 21:54:03 +01:00
2024-12-26 21:54:03 +01:00
2024-12-26 21:54:03 +01:00
2024-12-26 21:55:56 +01:00
2025-07-01 00:37:01 +12:00
2024-12-26 21:55:56 +01:00
2024-12-26 21:55:56 +01:00
2025-01-07 06:30:03 +01:00
2024-12-26 21:52:26 +01:00
2024-12-26 21:52:26 +01:00
2024-12-29 13:29:58 +01:00
2025-06-16 17:45:12 +02:00
2025-01-06 21:31:59 +01:00
2025-01-06 21:31:59 +01:00
2025-01-06 21:31:59 +01:00
2025-01-06 21:31:59 +01:00
2025-06-16 17:45:12 +02:00
2025-01-07 06:28:00 +01:00
2024-12-26 09:12:05 +01:00
2025-01-07 06:28:00 +01:00
2025-01-07 06:28:00 +01:00
2025-01-07 06:28:00 +01:00
2025-01-07 06:28:00 +01:00
2025-01-07 06:28:00 +01:00
2025-01-07 06:28:00 +01:00
2025-01-07 06:28:00 +01:00
2024-12-26 09:12:05 +01:00
2024-12-26 09:12:05 +01:00
2025-07-11 06:07:21 +01:00
2025-06-16 17:45:12 +02:00
2024-12-26 09:12:05 +01:00
2024-12-26 09:12:05 +01:00
2025-01-07 06:28:00 +01:00
2025-01-07 06:28:00 +01:00
2024-12-29 13:29:58 +01:00
2025-01-07 06:28:00 +01:00
2024-12-26 13:40:55 +01:00
2024-12-26 13:40:55 +01:00
2025-01-07 06:28:00 +01:00
2025-01-07 06:28:00 +01:00
2025-01-07 06:28:00 +01:00
2025-01-07 06:28:00 +01:00
2025-01-07 06:28:00 +01:00
2025-01-07 06:28:00 +01:00
2025-01-07 06:28:00 +01:00
2025-06-16 17:45:12 +02:00
2025-01-07 06:28:00 +01:00
2025-01-07 06:28:00 +01:00
2025-07-05 14:52:15 +02:00
2025-01-07 06:28:00 +01:00
2024-12-26 13:41:54 +01:00
2025-01-12 13:03:26 +01:00
2025-06-16 17:45:12 +02:00
2025-01-12 13:03:26 +01:00
2025-01-12 13:03:26 +01:00
2025-01-12 13:03:26 +01:00
2025-01-12 13:03:26 +01:00
2025-04-19 09:26:06 +02:00
2025-01-12 13:03:26 +01:00
2025-01-12 13:03:26 +01:00
2025-01-12 13:03:26 +01:00
2025-01-12 13:03:26 +01:00
2025-01-08 20:41:03 +01:00
2025-01-08 20:41:03 +01:00
2025-01-08 20:41:03 +01:00
2025-06-16 17:45:12 +02:00
2025-01-08 20:41:03 +01:00
2025-01-08 20:41:03 +01:00
2024-12-25 22:48:04 +01:00
2025-01-08 20:41:03 +01:00
2025-01-08 20:41:03 +01:00
2025-01-08 20:41:03 +01:00
2025-01-08 20:41:03 +01:00
2024-12-25 22:48:04 +01:00
2025-01-08 20:41:03 +01:00
2025-01-08 20:41:03 +01:00
2024-12-25 21:19:49 +01:00
2024-12-25 21:19:49 +01:00
2024-12-25 21:19:49 +01:00
2025-01-08 20:41:03 +01:00
2025-01-08 20:41:03 +01:00
2025-01-08 20:41:03 +01:00
2024-12-25 21:19:49 +01:00
2025-01-08 20:41:03 +01:00
2024-12-25 21:16:10 +01:00
2025-01-03 22:52:09 +01:00
2025-01-03 22:52:09 +01:00
2024-12-26 08:22:58 +01:00
2025-01-03 22:52:09 +01:00
2025-01-03 22:52:09 +01:00
2025-01-03 22:52:09 +01:00
2025-01-03 22:52:09 +01:00
2024-12-26 08:22:58 +01:00
2024-12-26 08:22:58 +01:00
2025-01-03 20:00:45 +01:00
2025-06-25 08:08:12 +02:00
2024-12-26 08:22:58 +01:00
2024-12-25 09:48:22 +01:00
2025-01-03 20:00:45 +01:00
2024-12-25 09:48:22 +01:00
2025-01-03 20:00:45 +01:00
2025-01-03 20:00:45 +01:00
2024-12-25 09:48:22 +01:00
2025-01-03 20:00:45 +01:00
2024-12-25 09:48:22 +01:00
2025-01-03 20:00:45 +01:00
2025-01-03 20:00:45 +01:00
2025-06-16 20:06:03 +02:00
2025-01-04 11:04:51 +01:00
2024-12-24 12:00:30 +01:00
2024-12-23 21:30:11 +01:00
2025-06-16 17:45:12 +02:00
2025-01-04 11:04:51 +01:00
2024-12-23 09:28:05 +01:00
2025-03-21 21:04:41 +01:00
2024-12-29 00:25:12 +01:00
2025-01-04 12:29:34 +13:00
2024-12-23 18:58:02 +01:00
2025-06-28 13:04:28 +02:00
2024-12-23 18:58:02 +01:00
2025-01-04 12:29:34 +13:00
2025-06-16 17:45:12 +02:00