diff --git a/tasks/dotfiles.yml b/tasks/dotfiles.yml index 3b2de0c..5a0899f 100644 --- a/tasks/dotfiles.yml +++ b/tasks/dotfiles.yml @@ -38,7 +38,7 @@ - name: dotfiles -- Copy local zshrc template: - src: files/dotfiles/zshenv + src: files/dotfiles/.zshrc dest: /home/{{ item.username }}/.config/zsh/.zshrc owner: "{{ item.username }}" group: "{{ item.group }}" @@ -63,6 +63,8 @@ git: repo: https://github.com/zsh-users/zsh-history-substring-search dest: /home/{{ item.username }}/.config/zsh/zsh-history-substring-search + owner: "{{ item.username }}" + group: "{{ item.group }}" with_items: "{{ dotusers }}" when: prompt == 'zsh'