From 2cf558a1195118e556eb89e93ad68100a3817ac0 Mon Sep 17 00:00:00 2001
From: Makhtar DIAGNE <makhtar.diagne@teamdlab.com>
Date: Thu, 28 May 2020 17:15:08 +0200
Subject: [PATCH] [TECH] Fix deployment uninstall when file is absent

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

diff --git a/deployment/uninstall.yml b/deployment/uninstall.yml
index 763b49f8..ae48e67f 100644
--- a/deployment/uninstall.yml
+++ b/deployment/uninstall.yml
@@ -164,8 +164,10 @@
   tasks:
     - name: delete empty dir vitamui
       shell: "find /vitamui -type d -empty -delete"
+      ignore_errors: yes
     - name: delete empty dir vitam
       shell: "find /vitam -type d -empty -delete"
+      ignore_errors: yes
 
 ############################
 # Remove repository and yum cache
-- 
GitLab