-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
RFE: Extend callback feature to Workflows #1845
Comments
Just notes:
Hence, this would likely have to be tied to the context of 'this workflow uses one and only one inventory for all component job templates' for us to allow it. Otherwise, it doesn't really make sense. |
I'd be fine with requiring a single inventory for this function. but i think the functionality is greatly needed. At current it requires to run some squirrely looking curl commands(and add functions to make sure each job finishes before the next one goes off) to get the same functionality. It would be cleaner and better for me to be able to call a pre-made workflow. |
I understand the reduction in range of options for WFs by limiting each sub JT to single inventory, specified at WF launch (or schedule). However, I believe there are more valuable use cases for a single inventory per WF. |
Adding my voice as well....would love to see this feature. |
Does this change also impact being able to pre-select the "prompt on launch" elements when scheduling a job? |
That's already included. |
Any updates on this? |
+1 |
Hi, for your first comment about allowed machine. This is something users will take care and you shoulld not be concerned about allowed machine. Whole point of calling provisioning callback is without passwords for trusted machines. We are making sure only trusted machines are calling this. So, whether JTs refer to same inventory or different, should not be on any concern in providing the feature. |
While I understand that you may be blocking the API in your environment to ensure only trusted machines are calling it, we still need to do that verification on the AWX side to avoid issues in general deployments. |
Thoughts on the UI work needed to get this done:
|
I suspect this is better restricted to workflows that have a workflow-level inventory defined, rather than individually assessing each template in the workflow. |
👍 Additional thoughts/feedback:
|
I just wanted to add some feedback to say this would be very useful. We were looking into this for the same reason as the referenced use case, splitting up our provisioning playbook into smaller chunks. It would be a helpful feature to have. |
A friendly chime-in from an Linux Enterprise Engineer: After a year with Tower, its hard to imagine living without it. Provision-callbacks are a lighting fast way integrate Tower-Automation with other Automation-processes, ex. Service-Now requests, and Teraform for cloud-automation-integration. Here is where the speed gets multiplied: This allows us to re-use and extend our JTs. Relying on yaml code to link JTs is doing an end-run around Tower's foundational purpose, defying it's essence, and defying the modular approach to writing JTs that makes it possible. The limitation to one inventory per WF is completely understandable, and acceptable. A further (maybe simple ?) enhancement to WF logic would be to use variables instead of run-on success/fail logic. However, the PCB for WK is far and above the more useful of the two. Thanks for listening, and rock on. |
@wenottingham is this a near-term priority that we should track more closely as an enhancement in the next major release? |
Do we have this PCB option for WT in latest release ? |
+1 |
2 similar comments
+1 |
+1 |
+1, please this would be really great to have a set of templates, all using one inventory, that can be run with ONE url callback |
+1 |
ISSUE TYPE
COMPONENT NAME
SUMMARY
Be able to allow Callbacks to awx via the awx API and invoke the launch of a Workflow.
Depends on #1845
The text was updated successfully, but these errors were encountered: