mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 07:24:00 -07:00
[PR #10195/e4373565 backport][stable-11] pacemaker_stonith: new module (#10719)
pacemaker_stonith: new module (#10195)
* feat(initial): Add pacemaker_stonith module and unit tests
* feat(initial): Add working changes to pacemaker_stonith
* refactor(review): Apply code review suggestions
* Apply suggestions from code review
* refactor(review): Additional code review items
* bug(cli_action): Add missing runner arguments
* Apply code review suggestions
* Apply suggestions from code review
* Apply suggestions from code review
* WIP
* Apply doc changes to pacemaker stonith
* Update plugins/modules/pacemaker_stonith.py
---------
(cherry picked from commit e43735659a
)
Co-authored-by: Dexter <45038532+munchtoast@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
3bf688be39
commit
148c133248
5 changed files with 458 additions and 0 deletions
|
@ -64,6 +64,7 @@ def pacemaker_runner(module, **kwargs):
|
|||
resource_meta=cmd_runner_fmt.stack(cmd_runner_fmt.as_opt_val)("meta"),
|
||||
resource_argument=cmd_runner_fmt.as_func(fmt_resource_argument),
|
||||
apply_all=cmd_runner_fmt.as_bool("--all"),
|
||||
agent_validation=cmd_runner_fmt.as_bool("--agent-validation"),
|
||||
wait=cmd_runner_fmt.as_opt_eq_val("--wait"),
|
||||
config=cmd_runner_fmt.as_fixed("config"),
|
||||
force=cmd_runner_fmt.as_bool("--force"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue