Skip to content

Commit cf9f79b

Browse files
committed
WIP
1 parent 0ac14c8 commit cf9f79b

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ install:
1616

1717
script:
1818
# run kitchen tests (destroy, create, converge, setup, verify and destroy)
19-
- travis_wait 30 kitchen test
19+
- travis_wait 40 kitchen test

roles/latex/tasks/main.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,20 @@
2121
become: true
2222
become_user: zds
2323
shell: |
24-
if [ -d "{{ texlive_dir }}/bin" ]; then
24+
if [ -e installation.profile ]; then
25+
./install-tl*/install-tl -v -profile installation.profile
26+
elif [ -d "{{ texlive_dir }}/bin" ]; then
2527
echo "TeXLive is already installed"
2628
else
2729
./install-tl*/install-tl -v -profile texlive.profile
2830
fi
2931
args:
3032
executable: /bin/bash
3133
chdir: "{{ workdir }}"
34+
register: this
35+
until: this is succeeded
36+
delay: 1
37+
retries: 5
3238
notify: remove texlive installation files
3339
tags:
3440
- bootstrap

0 commit comments

Comments
 (0)