ref(chroot): Move exe selection to host variable

This commit is contained in:
Marty Oehme 2025-02-23 09:15:20 +01:00
parent b07d7be58d
commit 9138d7b66b
Signed by: Marty
GPG key ID: 4E535BC19C61886E
5 changed files with 1 additions and 9 deletions

View file

@ -8,6 +8,7 @@ chroot:
void:
ansible_host: /mnt/void
ansible_connection: community.general.chroot
ansible_chroot_exe: arch-chroot
desired_package_state: latest
interface:

View file

@ -1,8 +1,6 @@
- name: Install void base system
hosts: chroot
become: true
vars:
ansible_chroot_exe: arch-chroot
tasks:
# Prefer booster to dracut so make sure to never install it
- name: Ignore dracut

View file

@ -2,7 +2,6 @@
hosts: chroot
become: true
vars:
ansible_chroot_exe: arch-chroot
nameserver1: 9.9.9.9
nameserver2: 9.9.9.10
tasks:

View file

@ -2,8 +2,6 @@
hosts: interface
become: true
tags: interface
vars:
ansible_chroot_exe: arch-chroot
tasks:
- name: Set up keyd for custom key events
community.general.xbps:
@ -42,8 +40,6 @@
become: true
tags:
- packages
vars:
ansible_chroot_exe: arch-chroot
tasks:
- name: Install a bunch of base custom stuff
community.general.xbps:

View file

@ -1,8 +1,6 @@
- name: Install void wayland environment
hosts: chroot
become: true
vars:
ansible_chroot_exe: arch-chroot
tasks:
- name: Install intel wayland drivers
community.general.xbps: