- giving things a better structure - better documentation with the way things need to be as a standard
11 lines
334 B
YAML
11 lines
334 B
YAML
# vim: set filetype=yaml.ansible :
|
|
---
|
|
- name: Clone git repository
|
|
ansible.builtin.git:
|
|
depth: "{{ git.depth | default(1) }}"
|
|
dest: "{{ git.path }}"
|
|
force: "{{ git.force | default(true) }}"
|
|
recursive: "{{ git.recursive | default(true) }}"
|
|
repo: "{{ git.repo }}"
|
|
version: "{{ git.version | default(omit) }}"
|