Fix indentation of rendered framework.yaml and messenger.yaml

Jinja control tags are now at column 0 without whitespace modifiers, so
no stray spaces are added before the following line (invalid YAML for
trusted_headers when traefik_install is true).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VnXP3D1srf5k8MrtPFUz93
This commit is contained in:
julienfastreandClaude Sonnet 5.5 committed 2026-11-20 16:07:14 +01:00
1 parent 1dc092f87f
commit 2dabbc0503
2 files changed
+6 -6

No files matched your search

+3 -3
View File
@@ -1,11 +1,11 @@
# this file is managed by ansible. Do not edit it by hand
framework:
{% if traefik_install +%}
{% if traefik_install %}
trusted_proxies: '127.0.0.1,REMOTE_ADDR{% for ip in traefik_trusted_ips|default([]) %},{{ ip }}{% endfor %}'
{%+ else %}
{% else %}
trusted_proxies: '127.0.0.1,{% for ip in chill.proxy_ips %}{{ ip }}{% if not loop.last %},{% endif %}{% endfor %}'
{%+ endif %}
{% endif %}
trusted_headers: ['x-forwarded-for', 'x-forwarded-host', 'x-forwarded-proto', 'x-forwarded-port']
parameters:
+3 -3
View File
@@ -2,7 +2,7 @@
framework:
messenger:
transports:
{% if chill.rabbitmq_install +%}
{% if chill.rabbitmq_install %}
async:
dsn: '%env(RABBITMQ_URL)%/async'
options:
@@ -13,9 +13,9 @@ framework:
async: ~
auto_setup: true
priority: '%env(RABBITMQ_URL)%/priority'
{% else +%}
{% else %}
async: 'doctrine://default'
priority: 'doctrine://default'
{% endif +%}
{% endif %}
failed: 'doctrine://default?queue_name=failed'
sync: 'sync://'