From 29be17d57d5a014f4d83d1ccb3105213063e35c5 Mon Sep 17 00:00:00 2001 From: Nicola Belluti Date: Fri, 10 Oct 2025 16:07:13 +0200 Subject: [PATCH] Run the shell changing task as root --- setup-script/roles/shell/tasks/main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/setup-script/roles/shell/tasks/main.yaml b/setup-script/roles/shell/tasks/main.yaml index de9fcf8..cf35312 100644 --- a/setup-script/roles/shell/tasks/main.yaml +++ b/setup-script/roles/shell/tasks/main.yaml @@ -11,6 +11,7 @@ failed_when: fish_path.rc != 0 - name: Set the user's shell + become: true ansible.builtin.user: name: "{{ chezmoi.username }}" shell: "{{ fish_path.stdout }}"