summaryrefslogtreecommitdiffstats
path: root/ansible/roles/configure_gui/tasks/main.yml
diff options
context:
space:
mode:
authorVolodymyr Mytnyk <volodymyrx.mytnyk@intel.com>2018-12-12 14:34:59 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-12-12 14:34:59 +0000
commit2809cb6adfbfe5e87cf78eb562149f37498477e0 (patch)
treee20dcafe8e90ba646b8cd25b9d7a0088e4af9825 /ansible/roles/configure_gui/tasks/main.yml
parentedb66ef37f9d89a783f3eda15d82d6fcebd7598e (diff)
parent85644d1a6d5e6af361367321b7805d69c7e7f26e (diff)
Merge "Modify install.yaml to support Ubuntu 18"
Diffstat (limited to 'ansible/roles/configure_gui/tasks/main.yml')
-rw-r--r--ansible/roles/configure_gui/tasks/main.yml5
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