Change in to work dir before executing tox

We can't execute tox if we're not in the dir.

Change-Id: I8b6785a99f8a95b2fd9eaaad5c376a837c81154a
This commit is contained in:
Monty Taylor 2017-10-01 13:50:42 -05:00
parent daf3a03da9
commit 8d11a04914
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594

View File

@ -21,6 +21,8 @@
- name: Find all environments
command: tox -l
args:
chdir: "{{ zuul_work_dir }}"
register: tox_environments
when: tox_envlist is not defined or tox_envlist == 'all'