configuresystems / ansible-stash

Ansible role for installing Atlassian Stash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible deployment for Stash

0. Current Stats

Build Status

Name Description
Version 1.0
Updated 03.22.2015
Ansible Version 1.8.4
Author Johnny Martin
Website http://configure.systems/
License MIT

1. QuickStart

git clone https://github.com/configuresystems/ansible-stash.git roles/ansible-stash
# Create a playbook file to use, there's a sample one in tests/test.yml
# Create a group_vars or update the default values in defaults/main.yml
ansible-playbook -i path/to/inventory ansible-stash.yml

Table of contents

2. Overview

An Ansible playbook to automate the installation of Atlassian Stash.

It uses the self installer along with the response.varfile to automate the installation.

3. Requirements

Ansible installed on the local machine.

3.1 Ubuntu

pip install ansible

3.2 Compile from Source

git clone git://github.com/ansible/ansible.git --recursive
cd ./ansible
source ./hacking/env-setup

4. Usage

  1. git clone http://github.com/configuresystems/ansible-stash
  2. Create a vars file in your group_vars, host_vars, set vars in the Playbook, or update the 'defaults/main.yml' file
  3. run the Ansible playbook, the fastest way is:
ansible-playbook ansible-stash.yml

4.1 Playbook Arguments

  • stashServer: Stash Controller Port
  • stashHttp: Accessible Stash Port
  • stashHome: The home dir of stash, not the install dir
  • stashData: Install dir of Stash
  • stashExec: Name of the bin autoinstaller
  • stashUrl: Location of where stash is to be downloaded from
  • mysqlConnectorJar: In order to use MySQL, a plugin must be added, this is that file
  • mysqlConnectorUrl: Where to download the the connector plugin from

4.2 Not Currently in use

  • mysqlHost: Host of the database to utilize
  • mysqlPort: Database port
  • mysqlDatabase: Database Name
  • mysqlUser: Datebase User
  • mysqlPasswd: Database Passwd

5. After install

Visit the Stash server via the browser by going to:

http://your.ip.address.yes:{{ stashHttp }}

Finish up the install process by adding the database info and product key probvided by Atlassian.

6. Stash Control

6.1 Stop

service atlstash stop

6.2 Start

service atlstash start

6.3 Restart

service atlstash restart

About

Ansible role for installing Atlassian Stash

License:MIT License


Languages

Language:Shell 100.0%