1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-23 13:50:30 +00:00
community.general/plugins/module_utils
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
..
identity/keycloak remove unnecessary brackets in conditions (#10328) 2025-07-03 06:46:50 +02:00
mh Remove deprecated features and plugins for 11.0.0 (#10126) 2025-05-19 18:11:39 +02:00
net_tools/pritunl
oracle
remote_management/lxca
source_control
storage
_filelock.py Docs: fix its vs. it's (#9442) 2024-12-29 13:29:58 +01:00
_mount.py
_stormssh.py
alicloud_ecs.py
android_sdkmanager.py Add android sdk module (#9236) 2024-12-20 22:55:12 +01:00
btrfs.py
cloud.py
cmd_runner.py cmd_runner_fmt: refactor out to its own file (#8964) 2024-10-02 21:24:24 +03:00
cmd_runner_fmt.py cmd_runner_fmt.as_fixed() now accepts list of args (#9893) 2025-03-21 21:04:59 +01:00
consul.py Consul implement agent service and check (#7989) 2024-06-16 09:32:55 +02:00
csv.py Use dict comprehension in plugins (#8814) 2024-09-01 20:22:53 +02:00
database.py
datetime.py
deps.py deps module utils: unit tests + minor improvement (#9179) 2024-11-24 22:09:53 +01:00
dimensiondata.py
django.py Remove deprecated features and plugins for 11.0.0 (#10126) 2025-05-19 18:11:39 +02:00
gandi_livedns_api.py
gconftool2.py gconftool2/gconftool2_info: add return value version (#9064) 2024-10-27 09:36:52 +01:00
gio_mime.py gio_mime: fix bug when looking for version (#9171) 2024-11-23 15:03:56 +01:00
gitlab.py
heroku.py
homebrew.py homebrew: Add support for services functions (#8329) 2024-08-01 17:11:23 +02:00
hwc_utils.py
ibm_sa_utils.py
ilo_redfish_utils.py Fix pylint and pep8 issues exposed by latest ansible-core's ansible-test sanity checks (#8720) 2024-08-07 15:18:58 +02:00
influxdb.py
ipa.py
jenkins.py
known_hosts.py use open() as context manager (#9579) 2025-01-21 20:50:44 +01:00
ldap.py
linode.py
locale_gen.py
lxd.py
manageiq.py
memset.py
module_helper.py Remove deprecated features and plugins for 11.0.0 (#10126) 2025-05-19 18:11:39 +02:00
ocapi_utils.py use dict comprehension in plugins, part 3 (#8833) 2024-09-08 14:22:37 +02:00
oneandone.py
onepassword.py
oneview.py
online.py
opennebula.py one_image/one_image_info: refactor (#8889) 2024-10-05 15:02:01 +02:00
pacemaker.py pacemaker_cluster: enhancements and add unit tests (#10227) 2025-07-14 07:48:36 +02:00
pipx.py pipx: accept python version specs in parameter name (#10031) 2025-05-17 08:00:27 +02:00
pkg_req.py pipx: accept python version specs in parameter name (#10031) 2025-05-17 08:00:27 +02:00
puppet.py puppet: use better CmdRunner param formatting (#10014) 2025-04-19 09:26:59 +02:00
pure.py
python_runner.py remove unnecessary brackets in conditions (#10328) 2025-07-03 06:46:50 +02:00
redfish_utils.py Drop support for ansible-core 2.15; update CI to move ansible-core 2.16 to EOL CI; remove compat code for ansible-core < 2.14 (#10160) 2025-06-02 06:24:34 +02:00
redis.py Add TLS certs params to redis (#8654) 2024-07-23 18:01:37 +02:00
rundeck.py
saslprep.py
scaleway.py use dict comprehension in plugins, part 3 (#8833) 2024-09-08 14:22:37 +02:00
snap.py snap: add RV version (#9598) 2025-01-22 20:04:38 +01:00
ssh.py
systemd.py systemd_info - add wildcards support (#9821) 2025-03-15 07:36:16 +01:00
univention_umc.py
utm_utils.py
vardict.py Use dict comprehension in plugins (#8814) 2024-09-01 20:22:53 +02:00
version.py
vexata.py
wdc_redfish_utils.py Fix to handle Redfish Gen2 Firmware upgrade (#8444) 2024-07-08 09:45:09 +02:00
xdg_mime.py Add xdg_mime module (#10007) 2025-04-26 12:34:03 +02:00
xenserver.py
xfconf.py xfconf/xfconf_info: add return value version (#9226) 2024-12-24 12:00:24 +01:00