Coder Social home page Coder Social logo

ansible-jira's Introduction

Ansible deployment for JIRA

Based on https://github.com/fauzigo/ansible-jira

Role jira

Role to deploy Jira Core or Jira Service Desk on RedHat 7.0 linux servers.

Requirements

Ansible 2.2 must be installed in the host where the playbook will be executed.

Recommended install Ansible via pip (http://docs.ansible.com/ansible/intro_installation.html#latest-releases-via-pip)

Role Variables

  • jira_user_group: Unix group for user which execute Jira service.
  • jira_user: Unix user which execute Jira service.
  • jira_user_home_dir: Top level directory where jira will be installed.
  • jira_home: Jira home directory, Jira will set its workspace in this directory.
  • jira_download_link: Link to download the .tar.gz file.
  • jira_version: Jira version to install.
  • jira_version_file_sha256sum: SHA 256 hash to validate the donwloaded file.
  • set_db: If set to true will configure Jira for use an existent database
  • jira_db_host: Database hostname or IP address
  • jira_db_name: Jira database name
  • jira_db_user: Jira database user name
  • jira_db_password: Jira database password

Dependencies

  • overdrive3000.java8

Example Playbook

main.yml playbook

    - hosts: localhost
      become: true
      vars_files:
        - vars/variables.yml
      roles:
         - overdrive3000.java8
         - overdrive3000.jira

vars/variables.yml file for a brand new jira installation

jira_user_group: jira
jira_user: jira
jira_user_home_dir: "/opt"
jira_home: "/var/jira"
jira_download_link: "http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software"
jira_version: "7.2.4"
jira_version_file_sha256sum: 0a57714dc5cf8d136a5ecf9156c6875f5547ce6c2b7aac9acc94695ea2d4b529

vars/variables.yml file for installing jira using an existent database

jira_user_group: jira
jira_user: jira
jira_user_home_dir: "/opt"
jira_home: "/var/jira"
jira_download_link: "http://www.atlassian.com/software/jira/downloads/binary"
jira_filename: "atlassian-jira-software"
jira_extracted: "{{ jira_filename }}" 
jira_version: "7.2.4"
jira_version_file_sha256sum: 0a57714dc5cf8d136a5ecf9156c6875f5547ce6c2b7aac9acc94695ea2d4b529

# database variables
set_db: true
jira_db_host: localhost
jira_db_name: jiradb
jira_db_user: jira
jira_db_password: verylongsecurepassword

In order to install Jira Service Desk use these variables

---
# Specific Jira Service Desk variables

jira_user_group: jira
jira_user: jira
jira_user_home_dir: "/opt"
jira_home: "/var/jira"
jira_download_link: "https://downloads.atlassian.com/software/jira/downloads"
jira_filename: "atlassian-servicedesk"
jira_extracted: "atlassian-jira-servicedesk"
jira_version: "3.2.6"
jira_version_file_sha256sum: f7c5a91833ba2d1bd59d1f62d75d41422a309429ccd7bbc32241cc24c648878e

License

BSD

Author Information

Juan Mesa - [email protected]

ansible-jira's People

Contributors

overdrive3000 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.