2020-11-07 22:40:15 -06:00
|
|
|
#!/usr/bin/env ansible-playbook
|
|
|
|
# vim:ft=ansible:
|
|
|
|
---
|
|
|
|
- name: clone git repos
|
2022-06-16 23:45:29 -05:00
|
|
|
ansible.builtin.git:
|
2020-11-07 22:40:15 -06:00
|
|
|
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 }}"
|