community.general
community.general copied to clipboard
pacemaker_info: new module and enhance cli_action
SUMMARY
- Adds in
pacemaker_infomodule for obtaining pacemaker facts - Fixes
cli_actioninmodule_utils/pacemaker.pyas argument spec- As a result,
maintenance_runneris removed frompacemaker_resourcemodule
- As a result,
ISSUE TYPE
- New Module/Plugin Pull Request
- Refactoring Pull Request
COMPONENT NAME
pacemaker pacemaker_resource pacemaker_info
ADDITIONAL INFORMATION
WIP PR, waiting for #10195 and #10227 . This will be a refactor to remove maintenance related runners to a single runner.
The test ansible-test sanity --test yamllint [explain] failed with 2 errors:
plugins/modules/pacemaker_info.py:33:1: error: EXAMPLES: syntax error: found unexpected end of stream (syntax)
plugins/modules/pacemaker_info.py:33:1: unparsable-with-libyaml: EXAMPLES: while scanning a quoted scalar - found unexpected end of stream
The test ansible-test sanity --test yamllint [explain] failed with 2 errors:
plugins/modules/pacemaker_info.py:33:1: error: EXAMPLES: syntax error: found unexpected end of stream (syntax)
plugins/modules/pacemaker_info.py:33:1: unparsable-with-libyaml: EXAMPLES: while scanning a quoted scalar - found unexpected end of stream
The test ansible-test sanity --test yamllint [explain] failed with 2 errors:
plugins/modules/pacemaker_info.py:33:1: error: EXAMPLES: syntax error: found unexpected end of stream (syntax)
plugins/modules/pacemaker_info.py:33:1: unparsable-with-libyaml: EXAMPLES: while scanning a quoted scalar found unexpected end of stream
The test ansible-test sanity --test pylint [explain] failed with 1 error:
plugins/modules/pacemaker_info.py:50:0: unused-import: Unused import numbers
The test ansible-test sanity --test validate-modules [explain] failed with 1 error:
plugins/modules/pacemaker_info.py:33:1: invalid-examples: EXAMPLES is not valid YAML
The test ansible-test sanity --test validate-modules [explain] failed with 1 error:
plugins/modules/pacemaker_info.py:33:1: invalid-examples: EXAMPLES is not valid YAML
The test ansible-test sanity --test pylint [explain] failed with 1 error:
plugins/modules/pacemaker_info.py:50:0: unused-import: Unused import numbers
The test ansible-test sanity --test validate-modules [explain] failed with 1 error:
plugins/modules/pacemaker_info.py:33:1: invalid-examples: EXAMPLES is not valid YAML
The test ansible-test sanity --test pylint [explain] failed with 1 error:
plugins/modules/pacemaker_info.py:50:0: unused-import: Unused import numbers
Backport to stable-11: 💚 backport PR created
✅ Backport PR branch: patchback/backports/stable-11/47aec26001caee0103ce18edda24c41abcbfdae9/pr-10291
Backported as https://github.com/ansible-collections/community.general/pull/10584
🤖 @patchback I'm built with octomachinery and my source is open — https://github.com/sanitizers/patchback-github-app.
@munchtoast thanks for your contribution! @russoz thanks for reviewing!