confluence_role
Confluence Ansible role
This role installs a standalone Confluence server
Getting started
Install Confluence in a Debian system. Optionally, it can install external jdbc driver and prepare confluence to run behind a proxy server
Prerequisities
Ansible 2.9.9 version installed.
Molecule 3.x.x version installed.
For testing purposes, Molecule with Docker as driver and Goss as verifier.
Also, it requires Java installed, you can use Ansible Galaxy - Idealista.Java_role
Installing
Create or add to your roles dependency file (e.g requirements.yml):
- src: idealista.confluence_role
version: 1.0.0
name: confluence
Install the role with ansible-galaxy command:
ansible-galaxy install -p roles -r requirements.yml -f
Use in a playbook:
- hosts: someserver
roles:
- role: confluence
Usage
Variables explanation:
confluence_tmp_dir
temporary directoryconfluence_pkg_version
this is the confluence version to installconfluence_pkg_download_url
use this variable to change download urlconfluence_user
this is the owner for all generated filesconfluence_group
this is the group for all generated filesconfluence_home_path
this is the path where confluence will be installedconfluence_data_path
this is the path where confluence store data filesconfluence_logs_path
this is the path where confluence logs will be storedconfluence_server_port
this is the port where confluence is listening onconfluence_connector_port
this is used by confluence as connector portconfluence_context
use this variable to define a url context, for example, 'http://example:8090/confluence' if not, leave it emptyconfluence_proxy_enabled
use this variable if you want use confluence behind a proxy serverconfluence_jdbc_install
enables external jdbc driver installationconfluence_system_dependencies
packages required to install a virtualenvconfluence_java_opts.xms
java xms valueconfluence_java_opts.xmx
java xmx valueconfluence_catalina_opts
use this variable to override catalina parametersconfluence_logrotate_enabled
activate logrotate configconfluence_logrotate_config_file
logrotate config location
Optional variables:
confluence_jdbc_origin
allow jdbc driver installation from maven or direct download. Valid values 'url' or 'maven'confluence_jdbc_download_url
this is the url to download jdbc driverIf you use maven as origin repository define these variables
confluence_jdbc_maven.artifact_id
confluence_jdbc_maven.group_id
confluence_jdbc_maven.version
confluence_jdbc_maven.repo_url
Use this variables to config confluence behind a proxy server
confluence_proxy.public_port
sets the public portconfluence_proxy.public_domain
sets the public domain
Testing
Install dependencies
$ pipenv sync
For more information read the pipenv docs.
Testing
$ pipenv run molecule test
Built With
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
- Idealista - Work with - idealista
See also the list of contributors who participated in this project.
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.
ansible-galaxy install idealista/confluence_role