From 3decdca3d0732a1df845650562e7bcb8fbfd87a7 Mon Sep 17 00:00:00 2001 From: Stepan Andrushko Date: Tue, 15 May 2018 18:42:55 +0300 Subject: 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 --- ansible/install.yaml | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit 1.2.3-korg