This commit is contained in:
aynic.os
2021-07-14 23:03:00 +01:00
parent 3ffea66ba8
commit b6f1b8d798
18 changed files with 99 additions and 30 deletions
+13
View File
@@ -0,0 +1,13 @@
---
# file: tasks/git.yml
- name: git - clone repositories
with_items: "{{ git_repositories|default([]) }}"
git:
repo: "{{ item.repo }}"
dest: "{{ item.dest|default('/src') }}"
key_file: "{{ item.key_file|default('~/.ssh/id_rsa') }}"
version: "{{ item.version|default('HEAD') }}"
ignore_errors: true
become: yes