From e70b6428fdcec5e54418e4bf90cdde0a3769a6e0 Mon Sep 17 00:00:00 2001 From: Marty Oehme <marty.oehme@gmail.com> Date: Sat, 22 Feb 2025 16:37:28 +0100 Subject: [PATCH] ref(inventory): Rename guest group to void --- inventory | 2 +- play.yaml | 2 +- void_base.yaml | 4 ++-- void_custom.yaml | 6 +++--- void_network.yaml | 2 +- void_user.yaml | 2 +- void_wayland.yaml | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/inventory b/inventory index e680d2b..da1d422 100644 --- a/inventory +++ b/inventory @@ -1,5 +1,5 @@ [host] 127.0.0.1 ansible_connection=local -[guest] +[chroot] /mnt/void ansible_connection=community.general.chroot diff --git a/play.yaml b/play.yaml index 291d72b..8b93dfe 100644 --- a/play.yaml +++ b/play.yaml @@ -4,7 +4,7 @@ # Get python onto void - otherwise we can not interact through ansible - name: Bootstrap void python - hosts: guest + hosts: chroot gather_facts: false tasks: - name: install python diff --git a/void_base.yaml b/void_base.yaml index 95ab250..ac04792 100644 --- a/void_base.yaml +++ b/void_base.yaml @@ -1,5 +1,5 @@ - name: Install void base system - hosts: guest + hosts: chroot become: true vars: ansible_chroot_exe: arch-chroot @@ -66,7 +66,7 @@ listen: installed-booster - name: Configure void base system - hosts: guest + hosts: chroot become: true vars: host_name: voider diff --git a/void_custom.yaml b/void_custom.yaml index 32675d5..b1ec0ef 100644 --- a/void_custom.yaml +++ b/void_custom.yaml @@ -1,5 +1,5 @@ - name: Install void customizations - hosts: guest + hosts: chroot become: true vars: ansible_chroot_exe: arch-chroot @@ -27,10 +27,10 @@ state: present notify: installed-fonts - # - name: Install much stuff + # - name: Install base custom stuff # community.general.xbps: # name: - # - + # - zsh # state: present # notify: installed-fonts diff --git a/void_network.yaml b/void_network.yaml index 7ff31fd..917d45c 100644 --- a/void_network.yaml +++ b/void_network.yaml @@ -1,5 +1,5 @@ - name: Set up voidlinux networking - hosts: guest + hosts: chroot become: true vars: ansible_chroot_exe: arch-chroot diff --git a/void_user.yaml b/void_user.yaml index 0fdf954..f637724 100644 --- a/void_user.yaml +++ b/void_user.yaml @@ -1,5 +1,5 @@ - name: Set up primary user - hosts: guest + hosts: chroot become: true vars: user_name: marty diff --git a/void_wayland.yaml b/void_wayland.yaml index a970988..2f7d960 100644 --- a/void_wayland.yaml +++ b/void_wayland.yaml @@ -1,5 +1,5 @@ - name: Install void wayland environment - hosts: guest + hosts: chroot become: true vars: ansible_chroot_exe: arch-chroot