Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PR #4736/be69f95f backport][stable-5] cmd_runner: added flag check_mode_skip to context #4772

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Jun 4, 2022

This is a backport of PR #4736 as merged into main (be69f95).

SUMMARY

Added parameters check_mode_skip and check_mode_return to CmdRunner.context(), so that the command is not executed when check_mode=True.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

plugins/module_utils/cmd_runner.py

* cmd_runner: added flag skip_if_check_mode to context

* added changelog fragment

* adjusted param name and added new one

(cherry picked from commit be69f95)
@ansibullbot ansibullbot added backport feature This issue/PR relates to a feature request integration tests/integration module_utils module_utils new_contributor Help guide this first time contributor plugins plugin (any type) tests tests labels Jun 4, 2022
@felixfontein felixfontein merged commit 9f0913b into stable-5 Jun 6, 2022
@felixfontein felixfontein deleted the patchback/backports/stable-5/be69f95f63cc1758f40e3a9b47d90dcd1af7cd90/pr-4736 branch June 6, 2022 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request integration tests/integration module_utils module_utils new_contributor Help guide this first time contributor plugins plugin (any type) tests tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants