Optimized categories and passed all unit tests

This commit is contained in:
Kevin Veen-Birkenbach 2025-07-12 17:47:35 +02:00
parent adec2aed84
commit 32dc27aebd
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
4 changed files with 10 additions and 4 deletions

View File

@ -5,7 +5,7 @@ USERS_OUT := ./group_vars/all/03_users.yml
USERS_SCRIPT := ./cli/build/defaults/users.py
INCLUDES_SCRIPT := ./cli/build/role_include.py
INCLUDE_GROUPS := $(shell python3 main.py meta invokable_paths -s "-" --no-signal | tr '\n' ' ')
INCLUDE_GROUPS := $(shell python3 main.py meta categories invokable -s "-" --no-signal | tr '\n' ' ')
# Directory where these include-files will be written
INCLUDES_OUT_DIR := ./tasks/groups

View File

@ -102,9 +102,13 @@ roles:
invokable: true
svc:
title: "Services"
description: "Docker infrastructure services (DBMS, LDAP, Redis, etc.)"
icon: "fas fa-database"
invokable: true
description: "Infrastructure services like databases"
invokable: false
db:
title: "Databases"
description: "Database applications (DBMS, LDAP, Redis, etc.)"
icon: "fas fa-database"
invokable: true
opt:
title: "Service Optimation"
description: "Optimation Services to improve your system"

View File

@ -107,5 +107,6 @@
- drv
- gen
- net
- svc-db
loop_control:
label: "{{ item }}-roles.yml"

View File

@ -13,6 +13,7 @@
- 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