From e3be48ffb2a31a365ce27d86907f65e2991cbda7 Mon Sep 17 00:00:00 2001 From: exu Date: Fri, 11 Oct 2024 18:51:51 +0200 Subject: [PATCH] Change shell to fish --- roles/config/tasks/main.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/roles/config/tasks/main.yml b/roles/config/tasks/main.yml index 6b71a334..fb762490 100644 --- a/roles/config/tasks/main.yml +++ b/roles/config/tasks/main.yml @@ -175,6 +175,17 @@ become: true tags: config +- name: Set fish for user + ansible.builtin.user: + name: "{{ ansible_user_id }}" + shell: "/usr/bin/fish" + +- name: Set fish for root + ansible.builtin.user: + name: "root" + shell: "/usr/bin/fish" + become: true + - name: Add user to groups ansible.builtin.user: name: "{{ ansible_user_id }}"