Otobo Ansible role https://otobo.io/en/
This repository has been archived on 2026-10-13. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-06-07 12:45:34 +00:00
.gitea/workflows feat: added initial working version 2026-06-07 14:42:38 +02:00
defaults feat: added initial working version 2026-06-07 14:42:38 +02:00
handlers feat: added initial working version 2026-06-07 14:42:38 +02:00
meta feat: added initial working version 2026-06-07 14:42:38 +02:00
tasks feat: added initial working version 2026-06-07 14:42:38 +02:00
templates feat: added initial working version 2026-06-07 14:42:38 +02:00
.gitignore feat: added initial working version 2026-06-07 14:42:38 +02:00
CHANGELOG.md feat: added initial working version 2026-06-07 14:42:38 +02:00
LICENSE feat: added initial working version 2026-06-07 14:42:38 +02:00
README.md Prettified Code! 2026-06-07 12:45:34 +00:00

OTOBO

Deploys OTOBO — an open-source ticket system — as a Docker Compose stack. The stack consists of MariaDB (database), OTOBO (web and daemon), Elasticsearch, Redis, MinIO, and an optional nginx HTTPS proxy.

Requirements

  • Docker >= 24
  • community.docker Ansible collection >= 5.2.0

Variables

Variable Default Description
otobo_instance otobo Unique instance name. Used as Compose project name and container name prefix.
otobo_docker_path /docker/otobo Host path for the rendered Compose file.
otobo_data_path /data/otobo Host path for persistent data (MariaDB, OTOBO, Elasticsearch, MinIO).
otobo_url "" Domain for Traefik routing. Mutually exclusive with otobo_port.
otobo_port 8443 Host port exposed via the bundled nginx HTTPS proxy. Set to false to route via Traefik instead.
otobo_ssl_certificate "" SSL certificate path inside the nginx container. Required when otobo_port is set.
otobo_ssl_certificate_key "" SSL certificate key path inside the nginx container. Required when otobo_port is set.
otobo_db_root_password ~ MariaDB root password. Required.
otobo_db_name otobo Application database name.
otobo_db_user otobo Application database user.
otobo_db_password ~ Application database user password. Required.
otobo_admin_password ~ Initial password for the root@localhost superuser account. Required.
otobo_timezone Europe/Berlin System and default user timezone (IANA name).
otobo_db_query_cache_size 33554432 MariaDB query cache size, in bytes.
otobo_elasticsearch_memory 512m Elasticsearch JVM heap size (-Xms/-Xmx).
otobo_web_option "" OTOBO web server mode: deployment, development, or shotgun. Leave empty for the image default.
otobo_db_image mariadb:lts-noble MariaDB image.
otobo_image rotheross/otobo:latest-11_0 OTOBO image, used for both the web and daemon services.
otobo_elasticsearch_image rotheross/otobo-elasticsearch:latest-11_0 Elasticsearch image.
otobo_redis_image redis:8-bookworm Redis image.
otobo_minio_image minio/minio MinIO image.
otobo_nginx_image rotheross/otobo-nginx-webproxy:latest-11_0 nginx HTTPS proxy image. Only used when otobo_port is set.
otobo_uninstall false Stops and removes all containers and the compose directory.
otobo_purge false Also removes otobo_data_path. Requires otobo_uninstall: true. Irreversible.

Usage

Minimal setup with the bundled nginx proxy:

otobo_db_root_password: "{{ vault_otobo_db_root_password }}"
otobo_port: 8443
otobo_ssl_certificate: /etc/nginx/ssl/cert.pem
otobo_ssl_certificate_key: /etc/nginx/ssl/key.pem

Place the certificate and key files at {{ otobo_docker_path }}/ssl/ on the target host before deploying — they are bind-mounted read-only into the nginx container.

Traefik

Setting otobo_port: false (and otobo_url) disables the bundled nginx proxy and instead attaches the web service to the external traefik_web network with routing labels:

otobo_port: false
otobo_url: "otobo.example.com"
  • HTTPS router on the websecure entrypoint for otobo_url, with TLS via the default certificate resolver
  • Routes to the OTOBO web UI on container port 5000

Uninstall

To stop and remove all containers and the compose directory (keeps data):

otobo_uninstall: true

To also wipe all persistent data (irreversible):

otobo_uninstall: true
otobo_purge: true

Notes

  • otobo_db_root_password should be stored in Ansible Vault.
  • Exactly one of otobo_url or otobo_port must be set — the role asserts this before deploying.
  • Data directories are bind-mounted under otobo_data_path with the correct owners for each service: MariaDB (uid/gid 999), OTOBO (uid/gid 1000), Elasticsearch (uid 1000, gid 0).
  • MinIO publishes ports 9000 and 9001 directly on the host regardless of the routing mode.