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.
This commit is contained in:
Marty Oehme 2025-02-23 10:45:07 +01:00
parent aae6b2d7ff
commit 38a4425d94
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -5,24 +5,24 @@ hostsystem:
chroot_target:
hosts:
void:
void_chrooted:
ansible_host: /mnt/void
ansible_connection: community.general.chroot
ansible_chroot_exe: arch-chroot
desired_package_state: latest
local_target:
hosts:
void:
void_local:
ansible_host: 127.0.0.1
desired_package_state: latest
target_system:
children:
chroot_target:
vars:
desired_package_state: latest
interface:
hosts:
children:
target_system:
vars:
fonts:
@ -46,7 +46,7 @@ interface:
- wdisplays
terminal:
hosts:
children:
target_system:
vars:
packages_terminal: