Solved application_id overwritting bug

This commit is contained in:
2025-07-25 22:15:09 +02:00
parent 9f61b4e50b
commit 996244b672
4 changed files with 8 additions and 13 deletions

View File

@@ -1,18 +1,10 @@
---
- name: "Store 'application_id' : {{ application_id }}"
set_fact:
original_application_id: "{{ application_id }}"
when: run_once_srv_web_core is not defined
- name: Include openresty
include_role:
name: svc-prx-openresty
when: run_once_srv_web_core is not defined
- name: "Restore 'application_id':\n Current: {{ application_id }}\n Restored: {{ original_application_id }}"
set_fact:
application_id: "{{ original_application_id }}"
public: false
# Explicit set to guaranty that application_id will not be overwritten.
# Should be anyhow the default case
when: run_once_srv_web_core is not defined
- name: "reset (if enabled)"