-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclone-git-repos.yml
53 lines (47 loc) · 1.68 KB
/
clone-git-repos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# SPDX-FileCopyrightText: Florian Wilhelm
# SPDX-License-Identifier: MIT
---
- hosts: all
tasks:
- name: Create ~/code Directory
ansible.builtin.file:
path: ~/code
state: directory
mode: "750"
- name: Create ~/code/scratch Directory
ansible.builtin.file:
path: ~/code/scratch
state: directory
mode: "750"
- name: Clone personal git repos
ansible.builtin.git:
repo: "{{ item }}"
dest: '~/code/{{ item | urlsplit("path") }}'
tags: personal
loop:
- https://github.com/fwilhe2/containers-knowledge-base
- https://github.com/fwilhe2/distroless
- https://github.com/fwilhe2/Inzell
- https://github.com/fwilhe2/silverblue-system-config
- https://github.com/fwilhe2/system-automation-lite
- https://github.com/fwilhe2/mininet-containers-playground
- name: Create ~/code/oci Directory
ansible.builtin.file:
path: ~/code/oci
state: directory
mode: "750"
- name: Clone container-related git repos
ansible.builtin.git:
repo: "{{ item }}"
dest: '~/code/oci/{{ item | urlsplit("path") }}'
tags: containers
loop:
- https://github.com/fwilhe-containers/runc
- https://github.com/fwilhe-containers/containerd
- https://github.com/fwilhe-containers/skopeo
- https://github.com/fwilhe-containers/cni
- https://github.com/fwilhe-containers/plugins
- https://github.com/fwilhe-containers/crun
- https://github.com/fwilhe-containers/podman
- https://github.com/fwilhe-containers/cri-o
- https://github.com/fwilhe-containers/container-image