Skip to content

idealista/jira_role

Repository files navigation

Logo

CircleCI

Jira Ansible role

This Ansible role installs Atlassian Jira in a Debian environment. The app is deployed to a Tomcat server and will expose the endpoint yourip:8080.

Getting Started

These instructions will get you a copy of the role for your Ansible playbook. Once launched, it will deploy Atlassian Jira to a Tomcat server in a Debian system.

Prerequisities

Ansible > 2.8 version installed. Inventory destination should be a Debian environment. Java versions specified here. All can be installed using idealista's Java role.

For testing purposes, Molecule with Docker as driver.

Installing

Create or add to your roles dependency file (e.g requirements.yml):

- src: idealista.jira_role
  version: 1.3.0
  name: jira

Install the role with ansible-galaxy command:

ansible-galaxy install -p roles -r requirements.yml -f

Use in a playbook:

---
- hosts: someserver
  roles:
    - role: jira

Usage

Look to the defaults properties file to see the possible configuration properties.

There are some variables in vars folder that help with the database configuration. Overriding them could be a bit difficult due to Ansible variable precedence so, in case you need to set new values, our recommendation is to have a vars folder in your playbook folder, put there a vars file with your preferred values and include them in your main playbook with include_vars.

Testing

nstall dependencies

$ pipenv sync

For more information read the pipenv docs.

Testing

$ pipenv run molecule test

Note: if you want to add colorized output (as previous versions of molecule), you must [set these environm ent variables](https://www.jeffgeerling.com/blog/2020/getting-colorized-output-molecule-and-ansible-on-git hub-actions-ci):

ANSIBLE_FORCE_COLOR=1
PY_COLOR=1

Built With

Ansible Molecule Goss

Versioning

For the versions available, see the tags on this repository.

Additionaly you can see what change in each version in the CHANGELOG.md file.

Authors

See also the list of contributors who participated in this project.

License

Apache 2.0 License

This project is licensed under the Apache 2.0 license - see the LICENSE file for details.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.