-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
cmd_runner: added flag check_mode_skip to context #4736
Merged
felixfontein
merged 3 commits into
ansible-collections:main
from
russoz-ansible:cmd-runner-skip-check-mode
Jun 4, 2022
Merged
cmd_runner: added flag check_mode_skip to context #4736
felixfontein
merged 3 commits into
ansible-collections:main
from
russoz-ansible:cmd-runner-skip-check-mode
Jun 4, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ansibullbot
added
feature
This issue/PR relates to a feature request
integration
tests/integration
module_utils
module_utils
plugins
plugin (any type)
tests
tests
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR
and removed
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR
labels
May 27, 2022
russoz
changed the title
cmd_runner: added flag skip_if_check_mode to context
cmd_runner: added flag check_mode_skip to context
May 28, 2022
russoz
force-pushed
the
cmd-runner-skip-check-mode
branch
from
May 28, 2022 23:12
ab6dfc8
to
9f55ab6
Compare
felixfontein
added
check-before-release
PR will be looked at again shortly before release and merged if possible.
backport-5
labels
May 29, 2022
felixfontein
approved these changes
May 29, 2022
Backport to stable-5: 💚 backport PR created✅ Backport PR branch: Backported as #4772 🤖 @patchback |
@russoz thanks for contributing this! |
patchback bot
pushed a commit
that referenced
this pull request
Jun 4, 2022
* 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)
felixfontein
removed
the
check-before-release
PR will be looked at again shortly before release and merged if possible.
label
Jun 4, 2022
felixfontein
pushed a commit
that referenced
this pull request
Jun 6, 2022
* 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) Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
1 task
1 task
1 task
1 task
ghost
mentioned this pull request
Nov 7, 2022
1 task
1 task
1 task
This was referenced Nov 20, 2022
Closed
Closed
Closed
Closed
Closed
Closed
This was referenced Dec 1, 2022
1 task
1 task
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
plugins
plugin (any type)
tests
tests
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
Added parameters
check_mode_skip
andcheck_mode_return
toCmdRunner.context()
, so that the command is not executed whencheck_mode=True
.ISSUE TYPE
COMPONENT NAME
plugins/module_utils/cmd_runner.py