File tree 2 files changed +10
-3
lines changed
2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 2
2
become : true
3
3
become_user : zds
4
4
ansible.builtin.unarchive :
5
- src : http://mirror.ctan.org/systems/texlive/tlnet/ install-tl-unx.tar.gz
5
+ src : " {{ texlive_repository }}/ install-tl-unx.tar.gz"
6
6
dest : " {{ workdir }}"
7
7
remote_src : true
8
8
tags :
21
21
become : true
22
22
become_user : zds
23
23
ansible.builtin.shell : |
24
- if [ -d "{{ texlive_dir }}/bin" ]; then
24
+ if [ -e installation.profile ]; then
25
+ ./install-tl*/install-tl -v --repository {{ texlive_repository }} --profile installation.profile
26
+ elif [ -d "{{ texlive_dir }}/bin" ]; then
25
27
echo "TeXLive is already installed"
26
28
else
27
- ./install-tl*/install-tl -v -profile texlive.profile
29
+ ./install-tl*/install-tl -v --repository {{ texlive_repository }} -- profile texlive.profile
28
30
fi
29
31
args :
30
32
executable : /bin/bash
31
33
chdir : " {{ workdir }}"
34
+ register : this
35
+ until : this is succeeded
36
+ delay : 5
37
+ retries : 5
32
38
notify : remove texlive installation files
33
39
tags :
34
40
- bootstrap
Original file line number Diff line number Diff line change 1
1
texlive_dir : " {{ workdir }}/texlive"
2
2
texlive_binaries : " {{ texlive_dir }}/bin/x86_64-linux"
3
+ texlive_repository : " https://mirrors.ircam.fr/pub/CTAN/systems/texlive/tlnet"
3
4
template_dir : " {{ texlive_dir }}/texmf-dist/tex/generic/latex-template"
4
5
5
6
fonttypes :
You can’t perform that action at this time.
0 commit comments