From 4a41d1412edd75b334291f41b49666e4aa7a3412 Mon Sep 17 00:00:00 2001
From: Makhtar DIAGNE <makhtar.diagne@teamdlab.com>
Date: Tue, 16 Jun 2020 16:20:21 +0200
Subject: [PATCH] [TECH] Uninstall remove assets

---
 deployment/uninstall.yml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/deployment/uninstall.yml b/deployment/uninstall.yml
index ae48e67f..d7260179 100644
--- a/deployment/uninstall.yml
+++ b/deployment/uninstall.yml
@@ -142,6 +142,17 @@
     - ui-identity-admin
     - zone-vitamui-admin
 
+############################
+# ZONE UI
+############################
+- hosts: zone_vitamui_ui
+  tasks:
+    - name: delete empty dir
+      shell: "rm -rf {{ vitamui_defaults.folder.root_path }}/conf/assets/"
+      ignore_errors: yes
+  tags:
+    - zone-vitamui-ui
+
 ########################################################
 # ZONE REVERSE
 ########################################################
-- 
GitLab