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:
2026-01-27 16:21:34 +01:00
parent 38a3d44897
commit 43a8ccff28
4 changed files with 12 additions and 0 deletions
+4
View File
@@ -49,7 +49,9 @@ services:
links:
- redis
- relatorio
{% if chill.rabbitmq_install +%}
- rabbitmq
{%+ endif %}
{% if chill.add_postgres -%}
- database
@@ -137,6 +139,7 @@ services:
# rabbitmq:
# condition: service_healthy
{% if chill.rabbitmq_install +%}
rabbitmq:
image: "{{ chill_image_rabbitmq }}"
env_file:
@@ -149,6 +152,7 @@ services:
networks:
- default
restart: always
{% endif %}
networks: