mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-09-30 05:23:21 -07:00
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 Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> * refactor(review): Additional code review items * bug(cli_action): Add missing runner arguments * Apply code review suggestions * Apply suggestions from code review Co-authored-by: Felix Fontein <felix@fontein.de> * Apply suggestions from code review Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> * WIP * Apply doc changes to pacemaker stonith * Update plugins/modules/pacemaker_stonith.py --------- 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
09f11523d1
commit
e43735659a
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