Fix git clone error
This commit is contained in:
@ -1,4 +1,9 @@
|
||||
---
|
||||
- name: OMZ | Add Oh My Zsh folder to Git safe directory list
|
||||
ansible.builtin.command:
|
||||
cmd: git config --global --add safe.directory "{{ item.ansible_facts.user_home }}/{{ omz_install_directory }}"
|
||||
with_items: "{{ paths.results }}"
|
||||
|
||||
- name: "OMZ | clone Oh My ZSH repo for user."
|
||||
git:
|
||||
repo: "{{ omz_git_repository }}"
|
||||
@ -8,6 +13,7 @@
|
||||
version: "master"
|
||||
register: "omz_clone"
|
||||
with_items: "{{ paths.results }}"
|
||||
when:
|
||||
|
||||
- name: "OMZ | set ownership on newly cloned repository."
|
||||
file:
|
||||
|
Reference in New Issue
Block a user