summaryrefslogtreecommitdiffstats
path: root/ansible/roles/configure_gui
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/configure_gui')
-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