feat(ansible): Ajoute la tâche pour exécuter app:images:warmup et la commande associée.

This commit is contained in:
Serreau Jovann
2026-01-28 14:24:41 +01:00
parent 6362f389b4
commit 17cf110cf0
2 changed files with 116 additions and 0 deletions

View File

@@ -224,6 +224,11 @@
become: false
args:
chdir: "{{ path }}"
- name: Exécuter app:images:warmup dans le répertoire de l application
ansible.builtin.command: php bin/console app:images:warmup
become: false
args:
chdir: "{{ path }}"
when: ansible_os_family == "Debian" # Added a when condition here, often missed
- name: Exécuter pwa:compile dans le répertoire de l application
ansible.builtin.command: php -d memory_limit=-1 bin/console pwa:compile