From 85644d1a6d5e6af361367321b7805d69c7e7f26e Mon Sep 17 00:00:00 2001 From: Stepan Andrushko Date: Fri, 7 Sep 2018 15:15:08 +0300 Subject: Modify install.yaml to support Ubuntu 18 Modify install.yaml to be able to install Yardstick on the newest Ubuntu 18.04 LTS. Yardstick installation on Ubuntu 16 is still supported. Default version is Ubuntu 16.04 (xenial). JIRA: YARDSTICK-1413 Change-Id: Ic8aca0699645c68831ee739deeaeceef418075f5 Signed-off-by: Stepan Andrushko --- ansible/install.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'ansible/install.yaml') diff --git a/ansible/install.yaml b/ansible/install.yaml index 0800ee534..079c65d31 100644 --- a/ansible/install.yaml +++ b/ansible/install.yaml @@ -21,7 +21,7 @@ pre_tasks: - - name: Create NSB binaries directory, accesible to any user + - name: Create NSB binaries directory, accessible to any user file: path: "{{ nsb_dir }}" state: directory @@ -31,8 +31,8 @@ - installation_mode != inst_mode_container_pull roles: - - { role: add_repos_jumphost, when: installation_mode != inst_mode_container_pull } - - { role: install_dependencies_jumphost, when: installation_mode != inst_mode_container_pull } + - add_repos_jumphost + - install_dependencies_jumphost - { role: install_yardstick, when: installation_mode != inst_mode_container_pull } - { role: configure_uwsgi, when: installation_mode != inst_mode_container_pull } - { role: configure_nginx, when: installation_mode != inst_mode_container_pull } @@ -141,10 +141,6 @@ hosts: jumphost tasks: - - include_role: - name: install_dependencies_jumphost - when: installation_mode == inst_mode_container_pull - - include_role: name: docker when: installation_mode == inst_mode_container_pull -- cgit 1.2.3-korg