13 lines
351 B
YAML
13 lines
351 B
YAML
#!/usr/bin/env ansible-playbook
|
|
# vim:ft=ansible:
|
|
---
|
|
- name: clone git repos
|
|
git:
|
|
accept_hostkey: yes
|
|
depth: "{{ item.depth | default(1, true) }}"
|
|
dest: "{{ item.dest }}"
|
|
force: "{{ item.force | default(false, true) }}"
|
|
repo: "{{ item.repo }}"
|
|
version: "{{ item.version | default('HEAD', true) }}"
|
|
loop: "{{ git_repos }}"
|