mimacom.bamboo
Ansible Role: Bamboo
This role installs Atlassian Bamboo on Linux servers. It will automatically install OpenJDK.
Requirements
None.
Role Variables
Here are the available variables with their default values (see defaults/main.yml
):
bamboo_master_version
: Version of Bamboo to install (default: 6.10.4)bamboo_master_fqdn
: Specify the full domain name for the Tomcat proxy (default: "")bamboo_master_https
: Set to True if you want to use HTTPS for the Tomcat proxy (default: False)bamboo_master_port
: Specify the port for the Tomcat proxy (default: "")bamboo_master_include_jdk
: Set to False if you don't want to install OpenJDK (default: True)bamboo_master_openjdk_version
: Version of OpenJDK to install for Bamboo (default: 1.8.0). Choose a version that is compatible with Bamboo.bamboo_master_user
: Name of the user that will run the Bamboo service (default: bamboo)bamboo_master_application_folder
: Path to install the Bamboo application (default: "/opt/atlassian/bamboo")bamboo_master_data_folder
: Path to store Bamboo application data (default: "/var/atlassian/application-data/bamboo")bamboo_master_jvm_memory
: Memory size for the Java Virtual Machine (default: 1g)
Dependencies
None.
Example Playbook
This example shows how to install Bamboo and configure Tomcat for a specific virtual host and HTTPS:
- hosts: servers
become: yes
roles:
- role: mimacom.bamboo
Upgrade Bamboo
To upgrade Bamboo, change the version variable to a newer version. The old binaries will be kept but not used. You should remove them manually.
Make sure to back up your data before upgrading because older Bamboo data will not work with new versions. If you set the version number lower than the currently installed one, the process will fail.
The current version is saved as an Ansible fact in /etc/ansible/facts.d/
.
License
Apache License 2.0
Author Information
This role was created by Remo Wenger.
ansible-galaxy install mimacom.bamboo