This commit introduces the foundational Ansible playbooks, roles, and configurations for automated provisioning of both production and test environments. Key capabilities include: - **Base System Setup:** Common packages, timezone, chrony, and hostname. - **Security Hardening:** SELinux disable, SSH configuration, `dnf-automatic`, `fail2ban`, `firewalld` setup, and `journald` log limits. - **Docker & Swarm:** Docker installation and configuration, Docker Swarm initialization/joining for managers and workers, overlay network creation, and node labeling. - **Storage:** Hetzner StorageBox integration using `davfs2`. - **Directory Structure:** Creation of application and database-specific directories. This establishes a comprehensive, automated pipeline for infrastructure deployment and initial configuration.
8 lines
363 B
YAML
8 lines
363 B
YAML
# Test environment specific variables
|
|
storagebox_user: "{{ storagebox_account }}-sub4"
|
|
storagebox_url: "https://{{ storagebox_user }}.your-storagebox.de/"
|
|
storagebox_mount_point: "/mnt/storagebox"
|
|
swarm_manager_ip: "10.10.10.11"
|
|
admin_allowed_cidrs: "78.187.87.109/32 95.70.151.248/32"
|
|
# storagebox_password: "{{ vault_storagebox_password }}" # In test-vault.yml
|