Refactored server roles for better readability

This commit is contained in:
2025-09-01 18:08:35 +02:00
parent b7065837df
commit b02d88adc0
77 changed files with 103 additions and 116 deletions

View File

@@ -1,8 +1,4 @@
---
- name: "include role for {{ application_id }} to receive certs & do modification routines"
include_role:
name: srv-composer
- name: "load docker and db for {{ application_id }}"
include_role:
name: sys-stk-back-stateful
@@ -10,7 +6,7 @@
- name: configure {{ domain }}.conf
template:
src: "templates/proxy.conf.j2"
dest: "{{ NGINX.DIRECTORIES.HTTP.SERVERS }}{{ domain }}.conf"
dest: "{{ [ NGINX.DIRECTORIES.HTTP.SERVERS, domain ~ '.conf'] | path_join }}"
notify: restart openresty
- name: "create {{ docker_compose.files.env }}"