Restructured webserver optimation roles

This commit is contained in:
2025-07-12 18:08:44 +02:00
parent 46bba3564d
commit f15f498c1d
15 changed files with 19 additions and 15 deletions

View File

@@ -104,9 +104,9 @@
- name: "Load base roles"
include_tasks: "./tasks/groups/{{ item }}-roles.yml"
loop:
- drv
- gen
- net
- svc-db
- drv # 1. Load driver roles
- gen # 2. Load generic roles
- net # 3. Load network roles
- svc-db # 4. Load database roles
loop_control:
label: "{{ item }}-roles.yml"

View File

@@ -2,8 +2,8 @@
- name: "setup docker role includes for desktop pc"
include_tasks: "./tasks/groups/{{ item }}-roles.yml"
loop:
- desk
- util-desk
- desk # 1. Load generic desktop roles
- util-desk # 2. Load utility desktop roles
loop_control:
label: "{{ item }}-roles.yml"

View File

@@ -13,9 +13,9 @@
- name: "Include server roles"
include_tasks: "./tasks/groups/{{ item }}-roles.yml"
loop:
- svc-db
- util-srv
- web-svc # Services need to run before applications
- web-app
- web-svc # 1. Load web server services
- web-app # 2. Load (UI) web applications
- util-srv # 3. Load web server collection roles
- web-opt # 4. Load optimation scrips last
loop_control:
label: "{{ item }}-roles.yml"

View File

@@ -1,6 +1,6 @@
- name: "Load destruction roles"
include_tasks: "./tasks/groups/{{ item }}-roles.yml"
loop:
- svc-opt # Optimation services
- svc-opt # Load optimation services
loop_control:
label: "{{ item }}-roles.yml"