From 61a2f75da4c4a7120f29e98c8a658a67ceacadbd Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Fri, 8 May 2026 13:59:24 +0200 Subject: Ensure that sudo-rs is removed because it's buggy --- roles/bootstrap/tasks/install-ubuntu.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'roles/bootstrap/tasks') diff --git a/roles/bootstrap/tasks/install-ubuntu.yml b/roles/bootstrap/tasks/install-ubuntu.yml index b3ed656..047cbb1 100644 --- a/roles/bootstrap/tasks/install-ubuntu.yml +++ b/roles/bootstrap/tasks/install-ubuntu.yml @@ -44,6 +44,11 @@ - "apt-get update" - "apt-get install -y {{ bootstrap_distro.packages | join(' ') }}" +- name: "Replace sudo-rs with sudo in chroot" + ansible.builtin.command: + cmd: "arch-chroot {{ mnt_root_path }} apt-get install -y --allow-remove-essential sudo sudo-rs-" + changed_when: true + - name: "Ensure rEFInd package installed" ansible.builtin.command: cmd: "arch-chroot {{ mnt_root_path }} apt-get install -y refind" -- cgit v1.2.3