Skip to content
Snippets Groups Projects
ogg 3.15 KiB

# Host spezifische Variablen

motd_lines:
  - "Ogg - Interne Services @ warpzone"
  - "Haupt-IP @ eth0: {{ansible_eth0.ipv4.address}}"

debian_sources:
  - "deb http://ftp2.de.debian.org/debian/ bookworm main contrib non-free"
  - "deb http://ftp.debian.org/debian bookworm-updates main contrib non-free"
  - "deb http://security.debian.org/ bookworm-security main contrib non-free"
  - "deb https://download.docker.com/linux/debian bookworm stable"

debian_keys_id:

debian_keys_url:
  - "https://download.docker.com/linux/debian/gpg"


# Primäre IP Adressen des Hosts
#ext_ip4: <keine>
#ext_ip6: <keine>
int_ip4: 192.168.0.201


# Art des Hosts: physical, vm, lxc
host_type: "lxc"

# SSL deaktivieren
webserver_ssl: false

# Liste der gehosteten Domänen
webserver_domains:
  - "esphome.warpzone"
  - "unifi.warpzone"

administratorenteam:
  - "void"
  - "sandhome"
  - "3d"
  - "jabertwo"

# Docker konfigurationen 
docker:
  # Interne Docker-Netzwerke 
  internal_networks:
    - web

# Monitoring aktivieren
alert:
  load:
    warn: 15
    crit: 30
  containers:
    - { name: "dockerstats_app_1" }    
    - { name: "esphome_app_1" }    
    - { name: "esphome-dev_app_1" }    
    - { name: "fridgeserver_app_1" }    
    - { name: "grafana_app_1" }    
    - { name: "heimdall_app_1" }    
    - { name: "homeassistant_app_1" }    
    - { name: "homeassistant_influxdb_1" }    
    - { name: "mqtt_app_1" } 
    - { name: "mqtt_influxdb_1" } 
    - { name: "mqtt_tgbinary_1" } 
    - { name: "mqtt_tgfloat_1" } 
    - { name: "nodered_app_1" }
    - { name: "omada_app_1" }
    - { name: "tasmoadmin_app_1" }
    - { name: "traefik_app_1" }
  disks:
    - { mountpoint: "/", warn: "5 GB", crit: "1 GB" }
    - { mountpoint: "/srv", warn: "5 GB", crit: "1 GB" }
    - { mountpoint: "/var/lib/docker", warn: "5 GB", crit: "1 GB" }


# Definition von Borgbackup Repositories
borgbackup_repos:

  borgbase:

    # URL des Repos
    repo: "apu4cibr@apu4cibr.repo.borgbase.com:repo"

    # Repo-spezifische Optionen zum Aufruf von Borgbackup
    # z.B. bei Sicherungen zu rsync.net ist --remote-path=borg1 erforderlich
    options: ""

    # Compression Options, z,b. "zlib,5, "zstd,5"
    compression: "zstd,5"

    # Prune Optionen
    prune: "--keep-within=2d --keep-daily=7 --keep-weekly=4 --keep-monthly=6"

    # Backup Schedule
    weekday: "*"
    hour: "6"
    minute: "40"

    #  Zusätzliche Verzeichnisse, die nur in diesem Backup gesichtert werden sollen
    # directories:

    # Monitoring
    alert: true
    warning_age: 36
    critical_age: 60
    warning_count: 10
    critical_count: 5


# Definition der Verzeichnisse, die in allen Borgbackup Repos gesichert werden sollen
borgbackup_directories:
  - "/etc/"
  - "/srv/"


wled_devices:
  - { id: "ampel",            groups: "gHauptraum" }
  - { id: "kuehlschrank",     groups: "gHauptraum" }
  - { id: "klo",              groups: "gToilet" }
  - { id: "lightsaber",       groups: "gHauptraum" }
  - { id: "loungedecke",      groups: "gLounge" }
  - { id: "theke",            groups: "gKueche" }
  - { id: "trocknerschlauch", groups: "gHauptraum" }
  - { id: "rack",             groups: "gLounge" }
  - { id: "warpcubes",        groups: "gLounge" }