summaryrefslogtreecommitdiffstats
path: root/ansible/roles
diff options
context:
space:
mode:
authorrexlee8776 <limingjiang@huawei.com>2018-07-01 04:02:52 +0000
committerrexlee8776 <limingjiang@huawei.com>2018-07-01 04:02:52 +0000
commit27858564cfaf4809808de52a843d2c60c13326e2 (patch)
tree80774fda6f74ae2065d13b08349d9a5ce916f82f /ansible/roles
parentce9a39a0e9e2747afa722f360ddc74dc697b3217 (diff)
Bugfix: uwsgi config file yardstick.ini output error
JIRA: YARDSTICK-1280 Change-Id: I45b4b781cee21035897ba0c34dc740af6365e918 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
Diffstat (limited to 'ansible/roles')
-rw-r--r--ansible/roles/configure_uwsgi/templates/yardstick.ini.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/ansible/roles/configure_uwsgi/templates/yardstick.ini.j2 b/ansible/roles/configure_uwsgi/templates/yardstick.ini.j2
index c049daf84..044f42acb 100644
--- a/ansible/roles/configure_uwsgi/templates/yardstick.ini.j2
+++ b/ansible/roles/configure_uwsgi/templates/yardstick.ini.j2
@@ -1,7 +1,7 @@
[uwsgi]
master = true
debug = true
-chdir = {{ yardstick_dir }}api
+chdir = {{ yardstick_dir }}/api
module = server
plugins = python
processes = 10
@@ -15,4 +15,4 @@ close-on-exec = 1
daemonize = {{ log_dir }}uwsgi.log
socket = {{ socket_file }}
{# If virtual environment, we need to add:
- virtualenv = <virtual_env> #} \ No newline at end of file
+ virtualenv = <virtual_env> #}