Commit 2c59c736 by Feanil Patel

Make this conditional on whether or not we're cloning any repos.

parent 49f2ec5e
......@@ -23,7 +23,8 @@
- name: Set git fetch.prune to ignore deleted remote refs
shell: git config --global fetch.prune true
become_user: "{{ repo_owner }}"
when: repo_owner is defined
no_log: true
when: repo_owner is defined and GIT_REPOS|length > 0
tags:
- install
- install:code
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment