-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Add tags and skip_tags option to awx.awx.workflow_launch #15011
Add tags and skip_tags option to awx.awx.workflow_launch #15011
Conversation
Do we need |
Yes it does, that's the same as other existing options for this module. These are all checked by this bit of code: awx/awx_collection/plugins/modules/workflow_launch.py Lines 172 to 178 in 178f64e
The ask_tags_on_launch and ask_skip_tags_on_launch are already able to be set on the |
@Tompage1994 to make this more complete, and to prevent future regression, can you add a test for this? you can add a new test case in file the structure of the test would be similar to a regular job launch, just with workflows instead the test would:
if you need some instructions for running the test locally just ping me and I'll provide some more instructions. Or you can just push your changes and let the CI run the test (albeit slow feedback loop) |
2215b7a
to
757bb09
Compare
@fosterseth I have done this now |
Signed-off-by: Tom Page <tpage@redhat.com>
2f5026f
to
142004a
Compare
@Tompage1994 thanks for improving the module! |
Signed-off-by: Tom Page <tpage@redhat.com>
Signed-off-by: Tom Page <tpage@redhat.com>
SUMMARY
The
tags
andskip_tags
options were missing from the workflow_launch module so this PR adds them in.resolves #15010
ISSUE TYPE
COMPONENT NAME
AWX VERSION
ADDITIONAL INFORMATION
The below snippet should now work where it didn't before.