Migrate to new apps role
This commit is contained in:
10
roles/apps/tasks/git.yml
Normal file
10
roles/apps/tasks/git.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
- name: Clone git repositories
|
||||
ansible.builtin.git:
|
||||
repo: "{{ item.repo }}"
|
||||
dest: "{{ item.dest }}"
|
||||
version: "{{ item.version }}"
|
||||
update: true
|
||||
depth: 1
|
||||
accept_hostkey: true
|
||||
loop: "{{ (git | default([])) + (apps_git | default([])) }}"
|
||||
when: ((git | default([])) + (apps_git | default([]))) | length > 0
|
||||
Reference in New Issue
Block a user