mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-05-05 21:35:21 +02:00
51 lines
2.6 KiB
YAML
51 lines
2.6 KiB
YAML
|
|
HOST_CURRENCY: "EUR"
|
|
HOST_TIMEZONE: "UTC"
|
|
|
|
# https://en.wikipedia.org/wiki/ISO_639
|
|
HOST_LL: "en" # Some applications are case sensitive
|
|
HOST_LL_CC: "{{HOST_LL}}_{{HOST_LL | upper }}"
|
|
|
|
HOST_DATE_FORMAT: "YYYY-MM-DD"
|
|
HOST_TIME_FORMAT: "HH:mm"
|
|
|
|
HOST_THOUSAND_SEPARATOR: "."
|
|
HOST_DECIMAL_MARK: ","
|
|
|
|
# Deployment mode
|
|
deployment_mode: "single" # Use single, if you deploy on one server. Use cluster if you setup in cluster mode.
|
|
|
|
web_protocol: "https" # Web protocol type. Use https or http. If you run local you need to change it to http
|
|
|
|
## 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
|
|
|
|
# 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
|
|
|
|
# This enables debugging in ansible and in the apps
|
|
# You SHOULD NOT enable this on production servers
|
|
enable_debug: false
|
|
|
|
dns_provider: cloudflare # The DNS Provider\Registrar for the domain
|
|
|
|
# Which ACME method to use: webroot, cloudflare, or hetzner
|
|
certbot_acme_challenge_method: "cloudflare"
|
|
certbot_credentials_dir: /etc/certbot
|
|
certbot_credentials_file: "{{ certbot_credentials_dir }}/{{ certbot_acme_challenge_method }}.ini"
|
|
# certbot_dns_api_token # Define in inventory file
|
|
certbot_dns_propagation_wait_seconds: 40 # How long should the script wait for DNS propagation before continuing
|
|
certbot_flavor: san # Possible options: san (recommended, with a dns flavor like cloudflare, or hetzner), wildcard(doesn't function with www redirect), deicated
|
|
certbot_webroot_path: "/var/lib/letsencrypt/" # Path used by Certbot to serve HTTP-01 ACME challenges
|
|
certbot_cert_path: "/etc/letsencrypt/live" # Path containing active certificate symlinks for domains
|