From 3c90152c1ca43dcc7d123eae58ead01253ea9a38 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Thu, 26 Dec 2024 00:39:47 +0100 Subject: [PATCH] Cambio di shell per l'utente che esegue il playbook. --- roles/zsh-user-cfg/tasks/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/roles/zsh-user-cfg/tasks/main.yml b/roles/zsh-user-cfg/tasks/main.yml index 6faf5d8..c6c85d2 100644 --- a/roles/zsh-user-cfg/tasks/main.yml +++ b/roles/zsh-user-cfg/tasks/main.yml @@ -6,3 +6,11 @@ tags: - zsh - zsh-config + +- name: Default shell + ansible.builtin.user: + name: "{{ ansible_user_id }}" + shell: /usr/bin/zsh + tags: + - zsh + - zsh-defshell