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:
parent
aae6b2d7ff
commit
38a4425d94
1 changed files with 6 additions and 6 deletions
|
@ -5,24 +5,24 @@ hostsystem:
|
||||||
|
|
||||||
chroot_target:
|
chroot_target:
|
||||||
hosts:
|
hosts:
|
||||||
void:
|
void_chrooted:
|
||||||
ansible_host: /mnt/void
|
ansible_host: /mnt/void
|
||||||
ansible_connection: community.general.chroot
|
ansible_connection: community.general.chroot
|
||||||
ansible_chroot_exe: arch-chroot
|
ansible_chroot_exe: arch-chroot
|
||||||
desired_package_state: latest
|
|
||||||
|
|
||||||
local_target:
|
local_target:
|
||||||
hosts:
|
hosts:
|
||||||
void:
|
void_local:
|
||||||
ansible_host: 127.0.0.1
|
ansible_host: 127.0.0.1
|
||||||
desired_package_state: latest
|
|
||||||
|
|
||||||
target_system:
|
target_system:
|
||||||
children:
|
children:
|
||||||
chroot_target:
|
chroot_target:
|
||||||
|
vars:
|
||||||
|
desired_package_state: latest
|
||||||
|
|
||||||
interface:
|
interface:
|
||||||
hosts:
|
children:
|
||||||
target_system:
|
target_system:
|
||||||
vars:
|
vars:
|
||||||
fonts:
|
fonts:
|
||||||
|
@ -46,7 +46,7 @@ interface:
|
||||||
- wdisplays
|
- wdisplays
|
||||||
|
|
||||||
terminal:
|
terminal:
|
||||||
hosts:
|
children:
|
||||||
target_system:
|
target_system:
|
||||||
vars:
|
vars:
|
||||||
packages_terminal:
|
packages_terminal:
|
||||||
|
|
Loading…
Reference in a new issue