feat(command): Ajoute la commande de synchronisation pour les données.

🔨 refactor(ansible): Ajoute une tâche cron pour la synchronisation des données.
This commit is contained in:
Serreau Jovann
2025-09-27 13:29:25 +02:00
parent b22a8bc45c
commit f8507a3435
2 changed files with 59 additions and 0 deletions

View File

@@ -203,6 +203,15 @@
job: "php {{ site_path }}/bin/console mainframe:cron:customer"
user: root
- name: "Cron Task sync"
ansible.builtin.cron:
name: "Mainframe - Sync"
minute: "0"
hour: "*"
user: "root"
job: "php {{ site_path }}/bin/console mainframe:cron:sync"
state: present
# Ensure final state of /public/media, if you want 'bot' to own it for uploads
- name: Final check for public/media ownership and permissions
ansible.builtin.file: