mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-12 12:16:06 +00:00
General optimations
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user