feat(projects): configure bare
and version
This commit is contained in:
parent
79e92712a4
commit
182a3bf861
|
@ -11,9 +11,11 @@
|
|||
- name: Clone projects
|
||||
ansible.builtin.git:
|
||||
accept_hostkey: yes
|
||||
bare: "{{ project_item.bare | default(true) }}"
|
||||
clone: yes
|
||||
dest: "{{ ansible_user_dir }}/Code/{{ project_item.dest }}"
|
||||
repo: "{{ project_item.repo }}"
|
||||
version: "{{ project_item.version | default('main') }}"
|
||||
update: no
|
||||
loop_control:
|
||||
loop_var: project_item
|
||||
|
|
Loading…
Reference in a new issue