Solved CDN and Logout deployment bugs existing due to 2.18->2.20 update

This commit is contained in:
2025-12-03 22:45:48 +01:00
parent 91d5ba35d1
commit 8fad77f17f
15 changed files with 63 additions and 40 deletions

View File

@@ -18,23 +18,24 @@
- svc-prx-openresty
loop_control:
loop_var: handler_role_name
vars:
application_id: svc-prx-openresty # Required to use correct config path at handlers
- name: "Include tasks to create directories"
include_tasks: 04_directories.yml
- name: create nginx config file
- name: Create NGINX Base Config
template:
src: nginx.conf.j2
dest: "{{ NGINX.FILES.CONFIGURATION }}"
notify: restart openresty
- name: Include openresty
- name: Include OpenResty (Once)
# Outside of run_once block is necessary for handler loading
# Otherwise the when: condition from the block is added to the handlers
# Inside openresty their is a validation that it doesn't run multiple times
include_role:
name: svc-prx-openresty
# Explicit set to guaranty that application_id will not be overwritten.
# Should be anyhow the default case
public: false