diff --git a/roles/taskotron/buildslave-configure/templates/buildbot.tac.j2 b/roles/taskotron/buildslave-configure/templates/buildbot.tac.j2 index 6c90560310..ca2d81bc1b 100644 --- a/roles/taskotron/buildslave-configure/templates/buildbot.tac.j2 +++ b/roles/taskotron/buildslave-configure/templates/buildbot.tac.j2 @@ -4,10 +4,10 @@ import os from twisted.application import service from buildslave.bot import BuildSlave -{% if deployment_type in ['prod', 'stg', 'local', 'qa-stg'] %} +{% if deployment_type in ['local', 'qa-stg'] %} basedir = r'/home/buildslave/slave' {% endif %} -{% if deployment_type == 'dev' %} +{% if deployment_type in ['prod', 'stg', 'dev'] %} basedir = r'{{ item.dir }}' {% endif %} rotateLength = 10000000