diff --git a/tasks/dotfiles.yml b/tasks/dotfiles.yml index 8f527a5..368bf2a 100644 --- a/tasks/dotfiles.yml +++ b/tasks/dotfiles.yml @@ -20,10 +20,10 @@ # ZSH - name: dotiles -- create and copy .config/zsh directory copy: - src: files/dotfiles/zsh + src: files/dotfiles/zsh/ dest: /home/{{ item.username }}/.config/zsh/ owner: "{{ item.username }}" - mode: '0755' + group: "{{ item.group }}" with_items: "{{ dotusers }}" when: prompt == 'zsh' @@ -36,15 +36,6 @@ with_items: "{{ dotusers }}" when: prompt == 'zsh' -- name: dotfiles -- Copy local zshrc - template: - src: files/dotfiles/zsh/.zshrc - dest: /home/{{ item.username }}/.config/zsh/.zshrc - owner: "{{ item.username }}" - group: "{{ item.group }}" - with_items: "{{ dotusers }}" - when: prompt == 'zsh' - - name: dotiles -- clone zsh syntax-hightlighting git: repo: https://github.com/zsh-users/zsh-syntax-highlighting.git @@ -63,8 +54,6 @@ 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'