summaryrefslogtreecommitdiffstats
path: root/ansible/roles/configure_uwsgi/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/configure_uwsgi/tasks/main.yml')
-rw-r--r--ansible/roles/configure_uwsgi/tasks/main.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/ansible/roles/configure_uwsgi/tasks/main.yml b/ansible/roles/configure_uwsgi/tasks/main.yml
index 6a2244657..8822bda53 100644
--- a/ansible/roles/configure_uwsgi/tasks/main.yml
+++ b/ansible/roles/configure_uwsgi/tasks/main.yml
@@ -39,6 +39,14 @@
owner: root
mode: 0644
+- set_fact:
+ uwsgi_log: "logto"
+ when: installation_mode == inst_mode_container
+
+- set_fact:
+ uwsgi_log: "daemonize"
+ when: installation_mode != inst_mode_container
+
- name: Create the UWSGI config file
template:
src: yardstick.ini.j2