Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Situphen committed Oct 7, 2020
1 parent 0ac14c8 commit cf9f79b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ install:

script:
# run kitchen tests (destroy, create, converge, setup, verify and destroy)
- travis_wait 30 kitchen test
- travis_wait 40 kitchen test
8 changes: 7 additions & 1 deletion roles/latex/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,20 @@
become: true
become_user: zds
shell: |
if [ -d "{{ texlive_dir }}/bin" ]; then
if [ -e installation.profile ]; then
./install-tl*/install-tl -v -profile installation.profile
elif [ -d "{{ texlive_dir }}/bin" ]; then
echo "TeXLive is already installed"
else
./install-tl*/install-tl -v -profile texlive.profile
fi
args:
executable: /bin/bash
chdir: "{{ workdir }}"
register: this
until: this is succeeded
delay: 1
retries: 5
notify: remove texlive installation files
tags:
- bootstrap
Expand Down

0 comments on commit cf9f79b

Please sign in to comment.