mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-15 08:30:46 +02:00
Solved listmonk handler bugs
This commit is contained in:
parent
2067804e9f
commit
a30cd4e8b5
@ -10,5 +10,6 @@
|
|||||||
state: present
|
state: present
|
||||||
|
|
||||||
- include_tasks: utils/run_once.yml
|
- include_tasks: utils/run_once.yml
|
||||||
|
vars:
|
||||||
|
flush_handlers: false
|
||||||
when: run_once_dev_python_pip is not defined
|
when: run_once_dev_python_pip is not defined
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
loop:
|
loop:
|
||||||
- sys-hlth-webserver
|
- sys-hlth-webserver
|
||||||
- sys-hlth-csp
|
- sys-hlth-csp
|
||||||
|
vars:
|
||||||
|
flush_handlers: false
|
||||||
|
|
||||||
- name: Include openresty
|
- name: Include openresty
|
||||||
# Outside of run_once block is necessary for handler loading
|
# Outside of run_once block is necessary for handler loading
|
||||||
|
@ -4,4 +4,6 @@
|
|||||||
name: dev-python-pip
|
name: dev-python-pip
|
||||||
when: run_once_dev_python_pip is not defined
|
when: run_once_dev_python_pip is not defined
|
||||||
- include_tasks: utils/run_once.yml
|
- include_tasks: utils/run_once.yml
|
||||||
|
vars:
|
||||||
|
flush_handlers: false
|
||||||
when: run_once_update_pip is not defined
|
when: run_once_update_pip is not defined
|
||||||
|
@ -2,6 +2,11 @@ application_id: "web-app-listmonk"
|
|||||||
database_type: "postgres"
|
database_type: "postgres"
|
||||||
|
|
||||||
container_port: "{{ applications | get_app_conf(application_id, 'docker.services.listmonk.port', True) }}"
|
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_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_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) }}"
|
listmonk_name: "{{ applications | get_app_conf(application_id, 'docker.services.listmonk.name', True) }}"
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
- (application_id | get_entity_name) == (docker_compose.directories.instance | basename)
|
- (application_id | get_entity_name) == (docker_compose.directories.instance | basename)
|
||||||
|
|
||||||
- meta: flush_handlers
|
- meta: flush_handlers
|
||||||
|
when: flush_handlers | default(true) | bool
|
||||||
|
|
||||||
- name: Set “run-once” fact for role {{ role_name }}
|
- name: Set “run-once” fact for role {{ role_name }}
|
||||||
set_fact:
|
set_fact:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user