Implemented shallow cloning for git

This commit is contained in:
2025-12-04 23:50:24 +01:00
parent 0cf6674ab5
commit 9fb372be52
5 changed files with 19 additions and 15 deletions

View File

@@ -5,9 +5,10 @@
- name: pull ssh repository from {{desk_ssh_repository}}
git:
repo: "{{desk_ssh_repository}}"
dest: "$HOME/.ssh"
update: yes
repo: "{{desk_ssh_repository}}"
dest: "$HOME/.ssh"
update: yes
depth: 1
register: git_result
ignore_errors: true
become: false