feat(ansible/update): Déplace la mise à jour du journal Git dans le script.

This commit is contained in:
Serreau Jovann
2026-01-29 09:31:40 +01:00
parent 61fe970aa6
commit 50185f2d8e
2 changed files with 1 additions and 8 deletions

View File

@@ -203,14 +203,6 @@
args:
chdir: "{{ path }}"
when: ansible_os_family == "Debian"
- name: Exécuter app:git-log-update pour mettre à jour le journal client
ansible.builtin.command: php bin/console app:git-log-update
become: false
args:
chdir: "{{ path }}"
# On ignore les erreurs pour ne pas bloquer le déploiement si l'IA ou Git échoue
ignore_errors: yes
- name: S'assurer que le fichier update.json a les bonnes permissions
ansible.builtin.file:
path: "{{ path }}/var/update.json"

View File

@@ -6,6 +6,7 @@ CYAN='\033[0;36m'
RESET='\033[0m' # Reset color to default
sudo update-alternatives --set php /usr/bin/php8.4
php bin/console app:git-log-update
echo "${CYAN}####################################${RESET}"
echo "${CYAN}# LUDIKEVENT INTRANET UPDATE START #${RESET}"
echo "${CYAN}####################################${RESET}"