summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-05-08 13:59:24 +0200
committerAhmed Abdelhalim <[email protected]>2026-05-08 13:59:24 +0200
commit61a2f75da4c4a7120f29e98c8a658a67ceacadbd (patch)
treeec51b6d448342089fb61a8e8bb02044612c853c9 /roles
parent3b9bb369851adbcf4720eb4ed7e2eef1953ffcdf (diff)
Ensure that sudo-rs is removed because it's buggy
Diffstat (limited to 'roles')
-rw-r--r--roles/bootstrap/tasks/install-ubuntu.yml5
1 files changed, 5 insertions, 0 deletions
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"