Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robertdebock/ansible-role-collabora_online
Install and configure Collabora Online CODE on your system.
https://github.com/robertdebock/ansible-role-collabora_online
ansible collaboraonline molecule playbook tox
Last synced: 2 months ago
JSON representation
Install and configure Collabora Online CODE on your system.
- Host: GitHub
- URL: https://github.com/robertdebock/ansible-role-collabora_online
- Owner: robertdebock
- License: apache-2.0
- Created: 2021-06-25T07:21:33.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-26T12:26:08.000Z (9 months ago)
- Last Synced: 2024-05-02T02:19:50.864Z (8 months ago)
- Topics: ansible, collaboraonline, molecule, playbook, tox
- Language: Jinja
- Homepage: https://robertdebock.nl/
- Size: 111 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# [Ansible role collabora_online](#collabora_online)
Install and configure Collabora Online CODE on your system.
|GitHub|GitLab|Downloads|Version|
|------|------|---------|-------|
|[![github](https://github.com/robertdebock/ansible-role-collabora_online/workflows/Ansible%20Molecule/badge.svg)](https://github.com/robertdebock/ansible-role-collabora_online/actions)|[![gitlab](https://gitlab.com/robertdebock-iac/ansible-role-collabora_online/badges/master/pipeline.svg)](https://gitlab.com/robertdebock-iac/ansible-role-collabora_online)|[![downloads](https://img.shields.io/ansible/role/d/robertdebock/collabora_online)](https://galaxy.ansible.com/robertdebock/collabora_online)|[![Version](https://img.shields.io/github/release/robertdebock/ansible-role-collabora_online.svg)](https://github.com/robertdebock/ansible-role-collabora_online/releases/)|## [Example Playbook](#example-playbook)
This example is taken from [`molecule/default/converge.yml`](https://github.com/robertdebock/ansible-role-collabora_online/blob/master/molecule/default/converge.yml) and is tested on each push, pull request and release.
```yaml
---
- name: Converge
hosts: all
become: true
gather_facts: trueroles:
- role: robertdebock.collabora_online
```The machine needs to be prepared. In CI this is done using [`molecule/default/prepare.yml`](https://github.com/robertdebock/ansible-role-collabora_online/blob/master/molecule/default/prepare.yml):
```yaml
---
- name: Prepare
hosts: all
become: true
gather_facts: falseroles:
- role: robertdebock.bootstrap
- role: robertdebock.ca_certificates
- role: robertdebock.users
users_groups:
- name: cool
users:
- name: cool
group: cool
home: /opt/cool
shell: /usr/sbin/nologin
system: true
```Also see a [full explanation and example](https://robertdebock.nl/how-to-use-these-roles.html) on how to use these roles.
## [Role Variables](#role-variables)
The default values for the variables are set in [`defaults/main.yml`](https://github.com/robertdebock/ansible-role-collabora_online/blob/master/defaults/main.yml):
```yaml
---
# defaults file for collabora_online# You can set the type of installation; either "code" or "licensed".
collabora_online_type: code# In case "LICENSED" is set for `collabora_online_type`, a version is required.
collabora_online_version: "6.4"# When using `collabora_online_type: licensed` and running on RHEL systems, you
# need to set this variable. Get it from https://support.collaboraoffice.com/ .
# collabora_online_secret_key: "abc-def-ghi-jkl-mno"# The languages allowed.
# collabora_online_allowed_languages: "de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru"# Manage SSL capabilities, either "false" or "true". (As a string.)
collabora_online_ssl_enabled: "false"# These settings become relevant when `collabora_online_ssl_enabled` is set to
# `true`.
collabora_online_ssl_cert: /etc/coolwsd/coolwsd.crt
collabora_online_ssl_key: /etc/coolwsd/coolwsd.key
collabora_online_ssl_ca: /etc/coolwsd/coolwsd.keycrt
collabora_online_ciphers: "ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH"# You can manage the mounting feature. Either "false" or "true". (As a string.)
collabora_online_mount_jail_tree: "true"# Set the log level. Can be 0 through 8, none or "fatal", "critical", "error",
# "warning", "notice", "information", "debug", "trace".
collabora_online_log_level: warning# Set the username for the admin console.
collabora_online_admin_username: "admin"# Set the password for the admin console.
collabora_online_admin_password: "50m3-53cu23-p455w02d."collabora_online_configuration_template: "coolwsd.xml.j2"
```## [Requirements](#requirements)
- pip packages listed in [requirements.txt](https://github.com/robertdebock/ansible-role-collabora_online/blob/master/requirements.txt).
## [State of used roles](#state-of-used-roles)
The following roles are used to prepare a system. You can prepare your system in another way.
| Requirement | GitHub | GitLab |
|-------------|--------|--------|
|[robertdebock.bootstrap](https://galaxy.ansible.com/robertdebock/bootstrap)|[![Build Status GitHub](https://github.com/robertdebock/ansible-role-bootstrap/workflows/Ansible%20Molecule/badge.svg)](https://github.com/robertdebock/ansible-role-bootstrap/actions)|[![Build Status GitLab](https://gitlab.com/robertdebock-iac/ansible-role-bootstrap/badges/master/pipeline.svg)](https://gitlab.com/robertdebock-iac/ansible-role-bootstrap)|
|[robertdebock.ca_certificates](https://galaxy.ansible.com/robertdebock/ca_certificates)|[![Build Status GitHub](https://github.com/robertdebock/ansible-role-ca_certificates/workflows/Ansible%20Molecule/badge.svg)](https://github.com/robertdebock/ansible-role-ca_certificates/actions)|[![Build Status GitLab](https://gitlab.com/robertdebock-iac/ansible-role-ca_certificates/badges/master/pipeline.svg)](https://gitlab.com/robertdebock-iac/ansible-role-ca_certificates)|
|[robertdebock.users](https://galaxy.ansible.com/robertdebock/users)|[![Build Status GitHub](https://github.com/robertdebock/ansible-role-users/workflows/Ansible%20Molecule/badge.svg)](https://github.com/robertdebock/ansible-role-users/actions)|[![Build Status GitLab](https://gitlab.com/robertdebock-iac/ansible-role-users/badges/master/pipeline.svg)](https://gitlab.com/robertdebock-iac/ansible-role-users)|## [Context](#context)
This role is a part of many compatible roles. Have a look at [the documentation of these roles](https://robertdebock.nl/) for further information.
Here is an overview of related roles:
![dependencies](https://raw.githubusercontent.com/robertdebock/ansible-role-collabora_online/png/requirements.png "Dependencies")## [Compatibility](#compatibility)
This role has been tested on these [container images](https://hub.docker.com/u/robertdebock):
|container|tags|
|---------|----|
|[EL](https://hub.docker.com/r/robertdebock/enterpriselinux)|9|
|[Ubuntu](https://hub.docker.com/r/robertdebock/ubuntu)|focal|The minimum version of Ansible required is 2.12, tests have been done to:
- The previous version.
- The current version.
- The development version.If you find issues, please register them in [GitHub](https://github.com/robertdebock/ansible-role-collabora_online/issues).
## [License](#license)
[Apache-2.0](https://github.com/robertdebock/ansible-role-collabora_online/blob/master/LICENSE).
## [Author Information](#author-information)
[robertdebock](https://robertdebock.nl/)
Please consider [sponsoring me](https://github.com/sponsors/robertdebock).