diff options
author | Stepan Andrushko <stepanx.andrushko@intel.com> | 2018-05-15 18:42:55 +0300 |
---|---|---|
committer | Emma Foley <emma.l.foley@intel.com> | 2018-06-26 14:40:21 +0000 |
commit | f9e1d1bde55cd065bd8908159cc0ba4f74664660 (patch) | |
tree | cdb2a0cfa1f6fcc81c3e768fa488ec8056b1926f | |
parent | 035df34e6486ed249fa5f0b9085b8fe8c11fe184 (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>
(cherry picked from commit 3decdca3d0732a1df845650562e7bcb8fbfd87a7)
-rw-r--r-- | ansible/install.yaml | 2 |
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 |