-
Notifications
You must be signed in to change notification settings - Fork 44
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
[Enhancement] [Epic] [zos_job_submit, zos_job_query, zos_job_output] support Ansible async controls #1249
Labels
Enhancement
Enhancement to existing collection content
In Plan
Issue has been accepted put into a planned release
Milestone
Comments
richp405
added
Backlog
and removed
Needs Triage
Issue need assessment by a team member(s)
labels
Mar 8, 2024
2 work arounds for this issue, one has a 5 second async delay which uses
and
|
My concern is how
In summary, what we need to determine is:
|
fernandofloresg
added
the
In Plan
Issue has been accepted put into a planned release
label
Sep 27, 2024
ddimatos
changed the title
[Enhancement] [Epic] [zos_job_submit] Support async controls
[Enhancement] [Epic] [zos_job_submit, zos_job_query, zos_job_output] support Ansible async controls
Sep 29, 2024
1 task
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Enhancement
Enhancement to existing collection content
In Plan
Issue has been accepted put into a planned release
Is there an existing issue for this?
Ansible module
zos_job_submit
Enhancement or feature description
The collection does not explicitly support Ansible
async
, when trying to use it with zos_job_submit the errorasync is not supported for this task
appears. Further evaluation, to supportasync
plugins specifically have to declareself._supports_async = True
but its more than simply this entry, the module itself has to deal with running in the async setting.This epic should have issues created:
self._supports_async = True
and answer the question if our current architecture can support this and if not what needs to change.async
might impact a future enhancement where modulezos_job_submit
could accept a list of jobs to submit , the JSON responses were designed to accommodate more than one job submission, it would be good to understand if such a the multi job submission feature were might be limited byansync
, for example if both async and multiple jobs were supported we might need to disable async when running more than one job else asynchronously looping over a list of jobs might not lend itself to poll.For reference:
An example which I can't fully evaluate because of the error:
zos_job_submit_loop_async.yml
submit_jobs.yml
Error:
Related issues:
The text was updated successfully, but these errors were encountered: