Murat ÖZDEMİR 3641f1a87e feat(infra): Improve StorageBox mounting reliability and directory management
Refactor StorageBox mount logic for greater stability and consistent remounts by utilizing shell commands. Enable `user_allow_other` for davfs2 mounts in `/etc/fuse.conf` and `fstab`, ensuring non-root container access to mounted files.

Standardize SWAG configuration directory provisioning to include specific subdirectories for DNS, proxy, and Certbot files. Streamline local `/opt/iklimco` directory creation on app and db nodes, removing obsolete paths and consolidating relevant service directories.
2026-05-24 16:27:00 +03:00

33 lines
1.3 KiB
YAML

storagebox_account: "u469968"
storagebox_user: "{{ storagebox_account }}-sub5"
storagebox_url: "https://{{ storagebox_user }}.your-storagebox.de/"
storagebox_mount_point: "/mnt/storagebox"
storagebox_password: "{{ vault_storagebox_password }}"
storagebox_managed_directories:
- path: "{{ storagebox_mount_point }}/db"
mode: "0777"
- path: "{{ storagebox_mount_point }}/ssl"
mode: "0777"
- path: "{{ storagebox_mount_point }}/swag"
mode: "0777"
- path: "{{ storagebox_mount_point }}/swag/dns-conf"
mode: "0777"
- path: "{{ storagebox_mount_point }}/swag/site-confs"
mode: "0777"
- path: "{{ storagebox_mount_point }}/swag/proxy-confs"
mode: "0777"
- path: "{{ storagebox_mount_point }}/swag/certbot"
mode: "0777"
- path: "{{ storagebox_managed_directories_grafana_path | default(storagebox_mount_point ~ '/grafana/data') }}"
mode: "0777"
- path: "{{ storagebox_mount_point }}/precipitation/images"
mode: "0777"
iklim_password: "{{ vault_iklim_password }}"
act_runner_labels: "prod-runner:docker://catthehacker/ubuntu:act-22.04,ubuntu-24.04,{{ inventory_hostname }}"
swarm_manager_ip: "10.20.10.11"
mongodb_replset_name: "rs0"
admin_allowed_cidrs: "78.187.87.109/32 95.70.151.248/32"
admin_ssh_public_key_path: "~/.ssh/id_rsa.pub"
timezone: "Europe/Istanbul"