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

cli: set non-zero return code for canceled status #15678

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

mhassan1
Copy link

@mhassan1 mhassan1 commented Dec 2, 2024

SUMMARY

This PR adds canceled to the list of statuses that cause launch commands (with --monitor or --wait) to exit non-zero.

If a job is canceled, I expect the caller to get a non-zero return code; otherwise, the caller will think that the job completed successful, even though it did not.

This is a follow-up to #6081.

ISSUE TYPE
  • New or Enhanced Feature
COMPONENT NAME
  • CLI
AWX VERSION
awx: 0.1.dev34249+g91bb012
ADDITIONAL INFORMATION

N/A

Copy link

sonarqubecloud bot commented Dec 2, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant