idealista.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_dirtemporary directoryconfluence_pkg_versionthis is the confluence version to installconfluence_pkg_download_urluse this variable to change download urlconfluence_userthis is the owner for all generated filesconfluence_groupthis is the group for all generated filesconfluence_home_paththis is the path where confluence will be installedconfluence_data_paththis is the path where confluence store data filesconfluence_logs_paththis is the path where confluence logs will be storedconfluence_server_portthis is the port where confluence is listening onconfluence_connector_portthis is used by confluence as connector portconfluence_contextuse this variable to define a url context, for example, 'http://example:8090/confluence' if not, leave it emptyconfluence_proxy_enableduse this variable if you want use confluence behind a proxy serverconfluence_jdbc_installenables external jdbc driver installationconfluence_system_dependenciespackages required to install a virtualenvconfluence_java_opts.xmsjava xms valueconfluence_java_opts.xmxjava xmx valueconfluence_catalina_optsuse this variable to override catalina parametersconfluence_logrotate_enabledactivate logrotate configconfluence_logrotate_config_filelogrotate config location
Optional variables:
confluence_jdbc_originallow jdbc driver installation from maven or direct download. Valid values 'url' or 'maven'confluence_jdbc_download_urlthis is the url to download jdbc driverIf you use maven as origin repository define these variables
confluence_jdbc_maven.artifact_idconfluence_jdbc_maven.group_idconfluence_jdbc_maven.versionconfluence_jdbc_maven.repo_urlUse this variables to config confluence behind a proxy server
confluence_proxy.public_portsets the public portconfluence_proxy.public_domainsets 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
