We are planning to automate some stuff with approval steps.
I uploaded an image to make it more clear. Let me explain the steps a bit more in detail with an example of requesting an application to be installed.
1. Customer sends an email/creates a ticket in Jira to request a the new application.
2. In Jira we have an approval flow. To approve or decline this request.
We are still debating a bit if we want 2 and 3 merged in one form.
3. Enter the details of this application into insight (cmdb).
4. After the change a program should be triggered that creates the inventory file and a file with some variables. For example the application name that needs to be installed.
5. This would be picked-up by the bitbucket pipeline and triggers an Ansible script.
6. The application is installed by Ansible on the System/Server
I hope this explains well enough what we are trying to do. Is this even possible?
Do you need something like Jenkins or is it possible with API's, Webhooks, etc?
In short reading insight and supply the info to Ansible.
Thanks in advance!
Regards,
Stan
Excellent idea. I have done almost the same thing using ScriptRunner for Jira Cloud.
I haven't used Jenkins. All within Jira, CMDB, ScriptRunner and client custom scripts/API (bespoke automation) but you can definitely use Bitbucket pipelines with ansible to deploy that.
Regards
Sorry for the late response.
Let me check if I understood you correctly.
So with ScriptRunner you are able to create a sort of export/middleware to your customer scripts/API.
Or did you create customer scripts/API as middleware?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.