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

Correct code comment in the PlaybookExecutor class to reflect current behavior #83269

Merged
merged 1 commit into from
May 21, 2024

Conversation

appeltel
Copy link
Contributor

SUMMARY

Correct a code comment in the PlaybookExecutor class that explains the host failure condition under which the PBE breaks out of the run. This comment previously stated that the maximum failure percentage was checked by the PHE. However, that logic has been refactored into the linear strategy plugin. The new comment reflects the actual behavior.

ISSUE TYPE
  • Bugfix Pull Request
ADDITIONAL INFORMATION

This change does not make any code changes aside from comments for readability. I found this while reading the source code while working on an issue with an ansible playbook failing and trying to understand under what conditions the PlaybookExecutor would halt the run. I believe that this was an small oversight from a much earlier refactoring into strategy plugins.

Correct a code comment in the PlaybookExecutor class that explains
the host failure condition under which the PBE breaks out of the
run. This comment previously stated that the maximum failure
percentage was checked, but that logic has been refactored into
the linear strategy plugin.
@ansibot ansibot added bug This issue/PR relates to a bug. needs_triage Needs a first human triage before being processed. labels May 18, 2024
@bcoca bcoca merged commit 10f9b8e into ansible:devel May 21, 2024
66 checks passed
@sivel sivel removed the needs_triage Needs a first human triage before being processed. label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants