feat(ansible): Installe le support ACL et corrige le chemin des tâches cron.

This commit is contained in:
Serreau Jovann
2025-09-27 13:37:42 +02:00
parent 42f81f7b67
commit 38acaf3dbb

View File

@@ -21,6 +21,13 @@
webhook_token: "DPSuS00Ian6O0lQw-1aDQPkVB19so4AA5zaLN_nALs3fDGah1KSLBWys_CYpsc33PGIG"
content: "Mise à jour du mainframe"
- name: Installer le support ACL pour corriger les permissions de 'become_user'
ansible.builtin.apt:
name: acl
state: present
update_cache: true
when: ansible_os_family == "Debian"
- name: Installation des dépendances pour le module Ansible PostgreSQL
ansible.builtin.apt:
name: python3-psycopg2
@@ -193,7 +200,7 @@
name: "Mainframe - Purge customer"
minute: "0"
hour: "21"
job: "php {{ site_path }}/bin/console mainframe:cron:customer"
job: "php {{ path }}/bin/console mainframe:cron:customer"
user: root
- name: "Cron Task sync"
@@ -202,7 +209,7 @@
minute: "0"
hour: "*"
user: "root"
job: "php {{ site_path }}/bin/console mainframe:cron:sync"
job: "php {{ path }}/bin/console mainframe:cron:sync"
state: present
# Ensure final state of /public/media, if you want 'bot' to own it for uploads