Fix pdf building

tox lives in {{ tox_executable }} which is set by the tox role,
so don't use the hardcoded 'tox' name, it might not exist.

Change-Id: I4c93fb838d6476357959a2d4459dede80caa2ad2
This commit is contained in:
Andreas Jaeger 2020-06-16 10:12:51 +02:00
parent 541b574222
commit e7f5a3d7a8
1 changed files with 1 additions and 1 deletions

View File

@ -21,5 +21,5 @@
shell: |
echo "Running tox -e {{ tox_pdf_envlist }} -vv > {{ ansible_user_dir }}/zuul-output/logs/sphinx-build-pdf.log 2>&1"
echo "Output is redirected to a file as it tends to be quite verbose."
tox -e {{ tox_pdf_envlist }} -vv > {{ ansible_user_dir }}/zuul-output/logs/sphinx-build-pdf.log 2>&1
{{ tox_executable }} -e {{ tox_pdf_envlist }} -vv > {{ ansible_user_dir }}/zuul-output/logs/sphinx-build-pdf.log 2>&1
when: pdfdocs_env is success