Solved listmonk handler bugs

This commit is contained in:
Kevin Veen-Birkenbach 2025-08-12 04:38:41 +02:00
parent 2067804e9f
commit a30cd4e8b5
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
5 changed files with 12 additions and 1 deletions

View File

@ -10,5 +10,6 @@
state: present
- include_tasks: utils/run_once.yml
vars:
flush_handlers: false
when: run_once_dev_python_pip is not defined

View File

@ -4,6 +4,8 @@
loop:
- sys-hlth-webserver
- sys-hlth-csp
vars:
flush_handlers: false
- name: Include openresty
# Outside of run_once block is necessary for handler loading

View File

@ -4,4 +4,6 @@
name: dev-python-pip
when: run_once_dev_python_pip is not defined
- include_tasks: utils/run_once.yml
vars:
flush_handlers: false
when: run_once_update_pip is not defined

View File

@ -2,6 +2,11 @@ application_id: "web-app-listmonk"
database_type: "postgres"
container_port: "{{ applications | get_app_conf(application_id, 'docker.services.listmonk.port', True) }}"
# Docker specific
docker_compose_flush_handlers: false
# Listmonk Specific
listmonk_version: "{{ applications | get_app_conf(application_id, 'docker.services.listmonk.version', True) }}"
listmonk_image: "{{ applications | get_app_conf(application_id, 'docker.services.listmonk.image', True) }}"
listmonk_name: "{{ applications | get_app_conf(application_id, 'docker.services.listmonk.name', True) }}"

View File

@ -10,6 +10,7 @@
- (application_id | get_entity_name) == (docker_compose.directories.instance | basename)
- meta: flush_handlers
when: flush_handlers | default(true) | bool
- name: Set “run-once” fact for role {{ role_name }}
set_fact: