diff options
author | Stepan Andrushko <stepanx.andrushko@intel.com> | 2018-09-07 15:15:08 +0300 |
---|---|---|
committer | Stepan Andrushko <stepanx.andrushko@intel.com> | 2018-11-15 23:10:31 +0200 |
commit | 85644d1a6d5e6af361367321b7805d69c7e7f26e (patch) | |
tree | b59a0bf3a0e41eb8230520e109bcdedd7541c872 /ansible/roles/configure_gui | |
parent | 11bfaf23160da0f0391a2152dddb19b3a0bae766 (diff) |
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 <stepanx.andrushko@intel.com>
Diffstat (limited to 'ansible/roles/configure_gui')
-rw-r--r-- | ansible/roles/configure_gui/tasks/main.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ansible/roles/configure_gui/tasks/main.yml b/ansible/roles/configure_gui/tasks/main.yml index 846a9cb47..665053ccf 100644 --- a/ansible/roles/configure_gui/tasks/main.yml +++ b/ansible/roles/configure_gui/tasks/main.yml @@ -27,6 +27,11 @@ state: directory recurse: yes +- name: Remove /etc/nginx/yardstick/gui/dist directory if it exists + file: + path: /etc/nginx/yardstick/gui/dist + state: absent + - name: Move dist to /etc/nginx/yardstick/gui shell: cmd: mv dist /etc/nginx/yardstick/gui |