Name | Description |
---|---|
Version | 1.0 |
Updated | 03.22.2015 |
Ansible Version | 1.8.4 |
Author | Johnny Martin |
Website | http://configure.systems/ |
License | MIT |
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
An Ansible playbook to automate the installation of Atlassian Stash.
It uses the self installer along with the response.varfile to automate the installation.
Ansible installed on the local machine.
pip install ansible
git clone git://github.com/ansible/ansible.git --recursive
cd ./ansible
source ./hacking/env-setup
git clone http://github.com/configuresystems/ansible-stash
- Create a vars file in your group_vars, host_vars, set vars in the Playbook, or update the 'defaults/main.yml' file
- run the Ansible playbook, the fastest way is:
ansible-playbook ansible-stash.yml
- 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
- mysqlHost: Host of the database to utilize
- mysqlPort: Database port
- mysqlDatabase: Database Name
- mysqlUser: Datebase User
- mysqlPasswd: Database Passwd
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.
service atlstash stop
service atlstash start
service atlstash restart