summaryrefslogtreecommitdiffstats
path: root/ansible/install.yaml
diff options
context:
space:
mode:
authorStepan Andrushko <stepanx.andrushko@intel.com>2018-05-15 18:42:55 +0300
committerRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>2018-05-15 17:04:16 +0000
commit3decdca3d0732a1df845650562e7bcb8fbfd87a7 (patch)
tree12400737c65915aa11541ac7b5128fb1975a65bf /ansible/install.yaml
parent29a75d1c182b6a707c36fbc48a3e4b123f390d9f (diff)
Start nginx and uwsgi servicies only in not container mode
No need to execute nginx and uwsgi when running in container mode. JIRA: YARDSTICK-1179 Change-Id: I253f3adab388a14886b70e6589936f6eb27ac4c0 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
Diffstat (limited to 'ansible/install.yaml')
-rw-r--r--ansible/install.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/ansible/install.yaml b/ansible/install.yaml
index afffbede2..c446b91f7 100644
--- a/ansible/install.yaml
+++ b/ansible/install.yaml
@@ -38,5 +38,7 @@
- service:
name: nginx
state: restarted
+ when: installation_mode != inst_mode_container
- shell: uwsgi -i /etc/yardstick/yardstick.ini
+ when: installation_mode != inst_mode_container