From ce2f3b872e69028e0a91f760651297bc4515dee7 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Thu, 8 Jul 2021 10:32:21 +0200 Subject: [PATCH] Fix: remove copy .zshrc but fix zsh directory --- tasks/dotfiles.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) 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'