General optimations

This commit is contained in:
2025-12-04 04:17:24 +01:00
parent 845b6e7cc1
commit 093a44b59c
4 changed files with 13 additions and 10 deletions

View File

@@ -14,17 +14,21 @@
- name: "Include tasks to create directories"
include_tasks: 04_directories.yml
- name: Include OpenResty (Once)
- name: Load OpenResty
include_tasks: "utils/load_app.yml"
vars:
load_app_id: svc-prx-openresty
load_app_id: svc-prx-openresty
docker_compose_flush_handlers: false # Prevent deploy until initial Config is created
- name: Create NGINX Base Config
- name: Deploy OpenResty NGINX Base Configuration
template:
src: nginx.conf.j2
dest: "{{ NGINX.FILES.CONFIGURATION }}"
notify: restart openresty
- name: Flush OpenResty Base Setup
meta: flush_handlers
- name: Include health dependencies
include_role:
name: "{{ item }}"
@@ -32,6 +36,4 @@
- sys-ctl-hlth-webserver
- sys-ctl-hlth-csp
- meta: flush_handlers
- include_tasks: utils/once/flag.yml