Ansible wird für das automatisierte Deployment des Automated Office Systems verwendet.
Grundlegende Systempakete
# Standardvariablen
timezone: "Europe/Berlin"
fail2ban_bantime: 600
fail2ban_findtime: 600
fail2ban_maxretry: 3
Docker Netzwerk-Konfiguration
# Docker Standardvariablen
docker_version: "latest"
docker_compose_version: "2.21.0"
docker_users: ["{{ ansible_user }}"]
Virtual Host Konfiguration
# NGINX Standardvariablen
nginx_worker_processes: auto
nginx_worker_connections: 1024
nginx_client_max_body_size: "100M"
inventory/
├── production/
└── staging/
└── hosts
# vars/defaults/main.yml
base_domain: "example.com"
ssl_email: "admin@example.com"
services:
keycloak: true
nextcloud: true
paperless: true
nodered: true
# Staging Deployment
ansible-playbook -i inventory/staging site.yml
# Production Deployment
ansible-playbook -i inventory/production site.yml