Squash merge move_to_single_file_pkgs into main
This commit is contained in:
@@ -1,7 +1,20 @@
|
||||
- name: Clone git repository {{ src_pkg }}
|
||||
# vim: set filetype=yaml.ansible :
|
||||
#
|
||||
## Helper: git.yml
|
||||
## Description: pull git repositories
|
||||
## Variables:
|
||||
## path: Destination path when cloning
|
||||
## repo: url to git repo
|
||||
## depth: _optional_ (default: 1) set git clone depth
|
||||
## force: _optional_ (default: true) force cloning to given path
|
||||
## recursive: _optional_ (default: true) do a recursive clone
|
||||
## version: _optional_ (default: empty) git branch/tag to clone
|
||||
---
|
||||
- name: Clone git repository
|
||||
ansible.builtin.git:
|
||||
depth: 1
|
||||
force: true
|
||||
dest: "{{ src_path }}"
|
||||
repo: "{{ src_gitrepo }}"
|
||||
version: "{{ src_version | default(omit) }}"
|
||||
dest: "{{ path }}"
|
||||
repo: "{{ repo }}"
|
||||
depth: "{{ depth | default(1) }}"
|
||||
force: "{{ force | default(true) }}"
|
||||
recursive: "{{ recursive | default(true) }}"
|
||||
version: "{{ version | default(omit) }}"
|
||||
|
||||
Reference in New Issue
Block a user