THE HUGE REFACTORING CALENDER WEEK 33; Optimized Matrix and during this updated variables, and implemented better reset and cleanup mode handling, also solved some initial setup bugs

This commit is contained in:
2025-08-15 15:15:48 +02:00
parent 0228014d34
commit 022800425d
271 changed files with 1098 additions and 916 deletions

View File

@@ -8,15 +8,15 @@
- include_tasks: utils/run_once.yml
when: run_once_web_svc_html is not defined
- name: "include role for {{application_id}} to receive certs & do modification routines"
- name: "include role for {{ application_id }} to receive certs & do modification routines"
include_role:
name: srv-web-7-6-composer
vars:
domain: "{{domains | get_domain(application_id)}}"
domain: "{{ domains | get_domain(application_id) }}"
http_port: "{{ ports.localhost.http[application_id] }}"
- name: "generate {{domains | get_domain(application_id)}}.conf"
- name: "generate {{ domains | get_domain(application_id) }}.conf"
template:
src: "nginx.conf.j2"
dest: "{{nginx.directories.http.servers}}{{domains | get_domain(application_id)}}.conf"
dest: "{{ NGINX.DIRECTORIES.HTTP.SERVERS }}{{ domains | get_domain(application_id) }}.conf"
notify: restart openresty

View File

@@ -1,6 +1,6 @@
server
{
server_name {{domains | get_domain(application_id)}};
server_name {{ domains | get_domain(application_id) }};
{% include 'roles/srv-web-7-7-letsencrypt/templates/ssl_header.j2' %}
@@ -12,13 +12,13 @@ server
location /
{
root {{nginx.directories.data.html}};
root {{NGINX.DIRECTORIES.DATA.HTML}};
index index.html index.htm;
{% include 'roles/srv-web-7-7-inj-compose/templates/location.lua.j2' %}
}
location /.well-known/ {
alias {{nginx.directories.data.well_known}};
alias {{NGINX.DIRECTORIES.DATA.WELL_KNOWN}};
allow all;
default_type "text/plain";
autoindex on;

View File

@@ -1,2 +1,2 @@
application_id: "web-svc-html"
domain: "{{domains | get_domain(application_id)}}"
domain: "{{ domains | get_domain(application_id) }}"