diff --git a/playbooks/software/zsh/user_tasks.yml b/playbooks/software/zsh/user_tasks.yml index 0514b5d..aac4565 100644 --- a/playbooks/software/zsh/user_tasks.yml +++ b/playbooks/software/zsh/user_tasks.yml @@ -25,7 +25,7 @@ repo: 'https://github.com/ohmyzsh/ohmyzsh.git' dest: "{{ user_home }}/.oh-my-zsh" depth: 1 - state: present + update: no become_user: "{{ current_user }}" tags: [deploy] @@ -34,7 +34,7 @@ repo: 'https://github.com/zsh-users/zsh-syntax-highlighting.git' dest: "{{ user_home }}/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting" depth: 1 - state: present + update: no become_user: "{{ current_user }}" tags: [deploy] @@ -43,7 +43,7 @@ repo: 'https://github.com/zsh-users/zsh-autosuggestions.git' dest: "{{ user_home }}/.oh-my-zsh/custom/plugins/zsh-autosuggestions" depth: 1 - state: present + update: no become_user: "{{ current_user }}" tags: [deploy] @@ -52,7 +52,7 @@ repo: 'https://github.com/romkatv/powerlevel10k.git' dest: "{{ user_home }}/.oh-my-zsh/custom/themes/powerlevel10k" depth: 1 - state: present + update: no become_user: "{{ current_user }}" tags: [deploy] @@ -64,7 +64,7 @@ git: repo: 'https://github.com/ohmyzsh/ohmyzsh.git' dest: "{{ user_home }}/.oh-my-zsh" - state: latest + update: yes become_user: "{{ current_user }}" tags: [update] @@ -72,7 +72,7 @@ git: repo: 'https://github.com/zsh-users/zsh-syntax-highlighting.git' dest: "{{ user_home }}/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting" - state: latest + update: yes become_user: "{{ current_user }}" tags: [update] @@ -80,7 +80,7 @@ git: repo: 'https://github.com/zsh-users/zsh-autosuggestions.git' dest: "{{ user_home }}/.oh-my-zsh/custom/plugins/zsh-autosuggestions" - state: latest + update: yes become_user: "{{ current_user }}" tags: [update] @@ -88,7 +88,7 @@ git: repo: 'https://github.com/romkatv/powerlevel10k.git' dest: "{{ user_home }}/.oh-my-zsh/custom/themes/powerlevel10k" - state: latest + update: yes become_user: "{{ current_user }}" tags: [update]