Make RabbitMQ integration optional in Chill configuration

Introduced a new `rabbitmq_install` variable to conditionally enable RabbitMQ components in `compose.yaml`, `messenger.yaml`, and `env_file.env`. Updated related Ansible tasks to respect this variable.
This commit is contained in:
julienfastre committed 2026-01-27 16:21:34 +01:00
1 parent 38a3d44897
commit 43a8ccff28
4 files changed
+12

No files matched your search

+5
View File
@@ -2,6 +2,7 @@
framework:
messenger:
transports:
{% if chill.rabbitmq_install +%}
async:
dsn: '%env(RABBITMQ_URL)%/async'
options:
@@ -12,5 +13,9 @@ framework:
async: ~
auto_setup: true
priority: '%env(RABBITMQ_URL)%/priority'
{% else +%}
async: 'doctrine://default'
priority: 'doctrine://default'
{% endif +%}
failed: 'doctrine://default?queue_name=failed'
sync: 'sync://'