Files
ansible_role_package/tasks/helpers/git.yml
Matthew Stobbs e231c6ae7a updating documentation
- giving things a better structure
- better documentation with the way things need to be as a standard
2026-02-04 22:26:15 -07:00

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) }}"