From e40b7cb83ecc5c8e1db2d0a6dab3653c2739b6f7 Mon Sep 17 00:00:00 2001 From: Parham Alvani Date: Mon, 11 Dec 2023 14:08:42 +0000 Subject: [PATCH] fix: correct dotfile installation --- tasks/dotfiles.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tasks/dotfiles.yml b/tasks/dotfiles.yml index 6e4def4..6f0893e 100644 --- a/tasks/dotfiles.yml +++ b/tasks/dotfiles.yml @@ -14,6 +14,12 @@ when: dotfiles_git_update.after != dotfiles_git_update.before changed_when: dotfiles_git_update.after != dotfiles_git_update.before +- name: Install zsh + become: false + ansible.builtin.shell: "{{ dotfiles_home }}/start.sh zsh" + when: dotfiles_git_update.after != dotfiles_git_update.before + changed_when: dotfiles_git_update.after != dotfiles_git_update.before + - name: Change user shell to zsh become: true ansible.builtin.user: