Implemented auto creation of role groups

This commit is contained in:
2025-07-10 23:40:18 +02:00
parent 1f4dee49bc
commit 292918da81
5 changed files with 14 additions and 8 deletions

View File

@@ -5,8 +5,7 @@ USERS_OUT := ./group_vars/all/03_users.yml
USERS_SCRIPT := ./cli/generate/defaults/users.py
INCLUDES_SCRIPT := ./cli/generate/conditional_role_include.py
# Define the prefixes for which we want individual role-include files
INCLUDE_GROUPS := "drv-" "svc-" "desk-" "web-" "util-"
INCLUDE_GROUPS := $(shell python3 main.py meta invokable_paths -s "-" | tr '\n' ' ')
# Directory where these include-files will be written
INCLUDES_OUT_DIR := ./tasks/groups