Commit graph

10 commits

Author SHA1 Message Date
cf9e8165df
ref(inventory): Create target type indirection
Allows setting the current target to any of the groups sorted by target
type (i.e. 'what' type of machine it is). For example, we currently
target our system to a 'workstation' type machine. But we could switch
it to a headless machine which would not install any of the DE/GUI
grouped packages.
2025-02-23 11:39:26 +01:00
38a4425d94
fix(inventory): Correctly assign groups to keep vars
If assigning a list of 'host's to a group those become actual hosts and
have their own host variables. What we want to use groups with
child/parent relationships to group things is to not directly use hosts.
2025-02-23 11:39:25 +01:00
aae6b2d7ff
ref(inventory): Split packages into groups 2025-02-23 11:39:25 +01:00
996560410e
ref(inventory): Make chroot target one child of target systems
This should allow just having a general 'target' system for ansible
which will take all the modifications - but not care whether we connect
to it locally (i.e. running from void) or through chroot.

We can set the connection method for the specific system(s) in whatever
we group as part of the target group then. For local installation we
simply add locally connected hosts and for chroot set up chrooted hosts.
2025-02-23 11:39:24 +01:00
9138d7b66b
ref(chroot): Move exe selection to host variable 2025-02-23 11:39:23 +01:00
b07d7be58d
feat(packages): Set desired package state in group var 2025-02-23 11:39:23 +01:00
55d752ee19
feat(packages): Create unified installation task 2025-02-23 11:39:22 +01:00
7fa1fd38a1
feat(packages): Move font packages to group var 2025-02-23 11:39:22 +01:00
db76d2ae58
feat(packages): Add de interface installation stack
contains input interfaces, display, fonts, etc - all running in
graphical (wayland) environment
2025-02-23 11:39:21 +01:00
b3c5347143
feat(inventory): Change to yaml definition 2025-02-23 11:39:20 +01:00