Optimized Listmonk variables

This commit is contained in:
2025-09-12 13:04:06 +02:00
parent b7a7be4737
commit a6a2be4373
2 changed files with 10 additions and 11 deletions

View File

@@ -3,8 +3,9 @@
include_role:
name: sys-stk-full-stateful
vars:
docker_compose_flush_handlers: false
proxy_extra_configuration: >-
{% if not applications | get_app_conf(application_id, 'public_api_activated', True) %}
{% if not LISTMONK_PUBLIC_API_ENABLED | bool %}
{{ lookup('file', '{{ playbook_dir }}/roles/web-app-listmonk/files/deactivate-public-api.conf') }}
{% else %}
""