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 11---
22- 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
317 tasks :
418 # Installation tasks
519 # ##################
3751 - podman
3852 state : present
3953
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+
4074 # Caddy server setup
4175 # ##################
4276 - name : Configure Caddy
You can’t perform that action at this time.
0 commit comments