mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-11 11:48:19 +00:00
Solved CDN and Logout deployment bugs existing due to 2.18->2.20 update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user