diff --git a/teuthology/deploy/ansible/roles/teuthology_workers/tasks/main.yml b/teuthology/deploy/ansible/roles/teuthology_workers/tasks/main.yml index 4a4e2388e1..3238e0e043 100644 --- a/teuthology/deploy/ansible/roles/teuthology_workers/tasks/main.yml +++ b/teuthology/deploy/ansible/roles/teuthology_workers/tasks/main.yml @@ -15,7 +15,7 @@ bash docs/_static/worker_start.sh {{ machine_type }} {{ workers }} args: executable: /bin/bash - chdir: /home/{{ teuthology_execution_user }}/src/teuthology_master + chdir: /home/{{ teuthology_execution_user }}/src/teuthology_{{ teuthology_branch }} become_user: "{{ teuthology_execution_user }}" when: workers > 0 @@ -51,6 +51,6 @@ args: executable: /bin/bash - chdir: /home/{{ teuthology_execution_user }}/src/teuthology_master + chdir: /home/{{ teuthology_execution_user }}/src/teuthology_{{ teuthology_branch }} become_user: "{{ teuthology_execution_user }}" when: dispatcher > 0