The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Automate jira install with ansible with database schema creation

Stéphane PINARD
March 21, 2025

 

Translator

 

 

 

I need to install a Jira instance via Ansible, but I cannot fully automate the process because, to create the tables in the database, I apparently need to use the Jira configuration assistant. Is there a way to create the entire Jira database schema with Ansible?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Philipp Sendek _catworkx_
Community Champion
March 21, 2025

Hi @Stéphane PINARD ,

I personally haven't done it and am not working with configuration management systems. But the most straightforward point would be to deploy Jira once, run the installation wizard and then backup the resulting database schema and use that as template.
Besides the schema itself it will only have very few data in it and you could work with variables to adjust that (such as the site name, the site URL and other global configurations).

But the safest way would be to use an established Ansible template where you can be sure that it's tested properly.

Greetings
Philipp

Matt Doar _Adaptavist_
Community Champion
March 21, 2025

You should be able to use Ansible to create the database and then let Jira create the tables when it is started for the first time

DEPLOYMENT TYPE
SERVER
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events