Shallow clone roles

On the master branch this will speed up role cloning. In stable
branches where we clone from pinned SHAs this will be ignored.

Change-Id: I33d85ab4fe17f0bd04e8225680675aab826f74ed
This commit is contained in:
Logan V 2017-10-03 10:49:08 -05:00
parent 67bea88f60
commit 24b505b1e4

View File

@ -62,6 +62,7 @@
dest: "{{ item.path | default(role_path_default) }}/{{ item.name | default(item.src | basename) }}"
version: "{{ item.version | default('master') }}"
refspec: "{{ item.refspec | default(omit) }}"
depth: "{{ item.depth | default('10') }}"
update: true
force: true
when: