mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-18 06:24:25 +02:00
Implemented auto creation of role groups
This commit is contained in:
parent
1f4dee49bc
commit
292918da81
3
Makefile
3
Makefile
@ -5,8 +5,7 @@ USERS_OUT := ./group_vars/all/03_users.yml
|
|||||||
USERS_SCRIPT := ./cli/generate/defaults/users.py
|
USERS_SCRIPT := ./cli/generate/defaults/users.py
|
||||||
INCLUDES_SCRIPT := ./cli/generate/conditional_role_include.py
|
INCLUDES_SCRIPT := ./cli/generate/conditional_role_include.py
|
||||||
|
|
||||||
# Define the prefixes for which we want individual role-include files
|
INCLUDE_GROUPS := $(shell python3 main.py meta invokable_paths -s "-" | tr '\n' ' ')
|
||||||
INCLUDE_GROUPS := "drv-" "svc-" "desk-" "web-" "util-"
|
|
||||||
|
|
||||||
# Directory where these include-files will be written
|
# Directory where these include-files will be written
|
||||||
INCLUDES_OUT_DIR := ./tasks/groups
|
INCLUDES_OUT_DIR := ./tasks/groups
|
||||||
|
@ -24,5 +24,3 @@ galaxy_info:
|
|||||||
documentation: "https://github.com/kevinveenbirkenbach/portfolio#readme"
|
documentation: "https://github.com/kevinveenbirkenbach/portfolio#readme"
|
||||||
logo:
|
logo:
|
||||||
class: "fa-solid fa-briefcase"
|
class: "fa-solid fa-briefcase"
|
||||||
run_after:
|
|
||||||
- web-svc-simpleicons
|
|
@ -26,8 +26,9 @@ galaxy_info:
|
|||||||
repository: "https://s.veen.world/cymais"
|
repository: "https://s.veen.world/cymais"
|
||||||
issue_tracker_url: "https://s.veen.world/cymaisissues"
|
issue_tracker_url: "https://s.veen.world/cymaisissues"
|
||||||
documentation: "https://s.veen.world/cymais"
|
documentation: "https://s.veen.world/cymais"
|
||||||
run_after:
|
# This propably leads to problems at a point, @todo solve it
|
||||||
- web-app-matomo
|
# run_after:
|
||||||
|
# - web-app-matomo
|
||||||
dependencies:
|
dependencies:
|
||||||
- srv-web-7-6-https
|
- srv-web-7-6-https
|
||||||
- gen-git
|
- gen-git
|
||||||
|
@ -1,5 +1,13 @@
|
|||||||
---
|
---
|
||||||
## pc applications
|
## pc applications
|
||||||
|
- name: "setup docker role includes for desktop pc"
|
||||||
|
include_tasks: "./tasks/groups/{{ item }}-roles.yml"
|
||||||
|
loop:
|
||||||
|
- util-desk
|
||||||
|
- desk
|
||||||
|
loop_control:
|
||||||
|
label: "{{ item }}-roles.yml"
|
||||||
|
|
||||||
- name: general host setup
|
- name: general host setup
|
||||||
when: ("personal_computers" in group_names)
|
when: ("personal_computers" in group_names)
|
||||||
include_role:
|
include_role:
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
- mon-bot-btrfs
|
- mon-bot-btrfs
|
||||||
- maint-btrfs-auto-balancer
|
- maint-btrfs-auto-balancer
|
||||||
|
|
||||||
- name: "Integrate Docker Role includes"
|
- name: "Integrate Docker Server Roles"
|
||||||
include_tasks: "./tasks/groups/{{ item }}-roles.yml"
|
include_tasks: "./tasks/groups/{{ item }}-roles.yml"
|
||||||
loop:
|
loop:
|
||||||
- svc
|
- svc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user