mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-03-29 04:23:34 +01:00
73 lines
3.4 KiB
YAML
73 lines
3.4 KiB
YAML
# General
|
|
pause_duration: "120" # Database delay to wait for the central database before continue tasks
|
|
|
|
timezone: "UTC"
|
|
locale: "en" # Some applications are case sensitive
|
|
|
|
# Deployment mode
|
|
deployment_mode: "single" # Use single, if you deploy on one server. Use cluster if you setup in cluster mode.
|
|
|
|
## Domain
|
|
primary_domain_tld: "localhost" # Top Level Domain of the server
|
|
primary_domain_sld: "cymais" # Second Level Domain of the server
|
|
primary_domain: "{{primary_domain_sld}}.{{primary_domain_tld}}" # Primary Domain of the server
|
|
|
|
# Helper Variables
|
|
_users_administrator_username: "{{ users.administrator.username | default('administrator') }}"
|
|
_users_administrator_email: "{{ users.administrator.email | default(_users_administrator_username ~ '@' ~ primary_domain) }}"
|
|
|
|
# Administrator
|
|
default_users:
|
|
administrator:
|
|
username: "{{_users_administrator_username}}" # Username of the administrator
|
|
email: "{{_users_administrator_email}}" # Email of the administrator
|
|
# initial_password: Null # Example initialisation password needs to be set in inventory file
|
|
uid: 1001 # Posix User ID
|
|
gid: 1001 # Posix Group ID
|
|
|
|
# Test Email
|
|
test_email: "test@{{primary_domain}}"
|
|
|
|
# Server Tact Variables
|
|
|
|
## Ours in which the server is "awake" (100% working). Rest of the time is reserved for maintanance
|
|
hours_server_awake: "0..23"
|
|
|
|
## Random delay for systemd timers to avoid peak loads.
|
|
randomized_delay_sec: "5min"
|
|
|
|
# Runtime Variables for Process Control
|
|
activate_all_timers: false # Activates all timers, independend if the handlers had been triggered
|
|
|
|
# One Wildcard Certificate for All Subdomains
|
|
# Enables a single Let's Encrypt wildcard certificate for all subdomains instead of individual certificates.
|
|
# Default: false (recommended for automatic setup).
|
|
# Setting this to true requires additional manual configuration.
|
|
# Using a wildcard certificate can improve performance by reducing TLS handshakes.
|
|
# To enable, update your inventory file.
|
|
# For detailed setup instructions, visit:
|
|
# https://github.com/kevinveenbirkenbach/cymais/tree/master/roles/nginx-docker-cert-deploy
|
|
enable_wildcard_certificate: false
|
|
|
|
# This enables debugging in ansible and in the apps
|
|
# You SHOULD NOT enable this on production servers
|
|
enable_debug: false
|
|
|
|
#########################
|
|
## ENABLED DEFAULTS ##
|
|
#########################
|
|
|
|
# The following defaults are used for the default_applications
|
|
# It can be that in a default_applications the value for one application is overwritten.
|
|
# You can overwritte it in this case in the applications in your inventory
|
|
|
|
## Matomo Tracking
|
|
matomo_tracking_enabled_default: true # Enables\Disables Matomo tracking on all html pages by default.
|
|
|
|
## CSS
|
|
css_enabled_default: true # Enables\Disables Global CSS on all html pages by default.
|
|
|
|
## iframe for primary domain
|
|
# Enables\Disables the possibility to be embedded via iframe by default.
|
|
# Enable conciously on every app in which it makes sense, due to that this a potential security risk
|
|
landingpage_iframe_enabled_default: false |