diff --git a/inventory.yaml b/inventory.yaml index 7a47254..7b39905 100644 --- a/inventory.yaml +++ b/inventory.yaml @@ -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: diff --git a/void_base.yaml b/void_base.yaml index ac04792..cf42be7 100644 --- a/void_base.yaml +++ b/void_base.yaml @@ -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 diff --git a/void_network.yaml b/void_network.yaml index 917d45c..384f7f6 100644 --- a/void_network.yaml +++ b/void_network.yaml @@ -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: diff --git a/void_packages.yaml b/void_packages.yaml index f18887c..4a95958 100644 --- a/void_packages.yaml +++ b/void_packages.yaml @@ -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: diff --git a/void_wayland.yaml b/void_wayland.yaml index 560905f..805fa81 100644 --- a/void_wayland.yaml +++ b/void_wayland.yaml @@ -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: