File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
- hosts : website
3
+ vars :
4
+ repos :
5
+ - mpl-brochure-site
6
+ - matplotlib.github.com
7
+ - basemap
8
+ - cheatsheets
9
+ - cycler
10
+ - devdocs
11
+ - governance
12
+ - matplotblog
13
+ - mpl-altair
14
+ - mpl-bench
15
+ - mpl-gui
16
+ - mpl-third-party
3
17
tasks :
4
18
# Installation tasks
5
19
# ##################
37
51
- podman
38
52
state : present
39
53
54
+ # Prepare and clone Git repositories
55
+ # ##################################
56
+ - name : Create Git repository directories
57
+ ansible.builtin.file :
58
+ path : " /usr/share/caddy/{{ item }}"
59
+ state : directory
60
+ mode : 0755
61
+ owner : caddy
62
+ group : caddy
63
+ loop : " {{ repos }}"
64
+
65
+ - name : Clone Git repositories
66
+ become : true
67
+ become_user : caddy
68
+ ansible.builtin.git :
69
+ repo : " https://github.com/matplotlib/{{ item }}"
70
+ dest : " /usr/share/caddy/{{ item }}"
71
+ version : gh-pages
72
+ loop : " {{ repos }}"
73
+
40
74
# Caddy server setup
41
75
# ##################
42
76
- name : Configure Caddy
You can’t perform that action at this time.
0 commit comments