Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrade Jira with Ansible

kumar Gajapaka March 6, 2019

First thing, Our Jira runs on Datacenter. So, we are trying to upgrade Jira using ansible.

How my ansible playbook works:

When I run the playbook it will download and run the Jira bin installer and it provides permissions to the file and then it takes the backup of Jira directory. Before starting Jira, It will copy the modified/new files with existing/old files and then Jira starts with the latest version. This is the complete process of Jira upgrade using ansible script. From this process, when I run in local machine it doesn't give any errors. If I run in Dev environment maybe I may see some errors. 

Recently, I have gone through some Atlassian community answers. Most of the people tried to automate Jira. But it doesn't work out for them. Also, I heard that instead of automation manual upgrade is good for Jira application not all Atlassian products.

Any suggestions or concerns on this automation process. If anyone tried and already got succeded please I need your Inputs.

 

Thanks,

Kumar

 

 

 

 

2 answers

0 votes
Bot Panha
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 17, 2025

hello brother,
Can you provide me ansible playbook for upgrade jira app 

0 votes
Dithmar Reutlinger March 21, 2019

Hi Kumar,

see my last answer here: https://community.atlassian.com/t5/Jira-questions/Upgrade-JIRA-with-Ansible/qaq-p/656792

 

I am doing a similar way and it works pretty good for me. However I am not copying any old config files. My approach is to update the new files with my values. Ansible offers great modules like replace or lineinfile. 

Suggest an answer

Log in or Sign up to answer