aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladislav Belogrudov <v.belogrudov@yadro.com>2022-04-28 16:59:30 +0300
committerVladislav Belogrudov <v.belogrudov@yadro.com>2022-04-28 16:59:30 +0300
commitae89632faa12be498b127c97e313405d841cb0e7 (patch)
tree56b71f24798f8b1b338a84bbdfebf5a3c6498c50
parenta4ccb37767fac6c8d0c7e0fbe1c69c1e706bc4cc (diff)
downloadkolla-ansible-ae89632faa12be498b127c97e313405d841cb0e7.tar.gz
kolla-ansible-ae89632faa12be498b127c97e313405d841cb0e7.zip
Skip /etc/kolla/globals.d on host cleanup
Closes-Bug: #1931042 Change-Id: If4bc1fe1dcd61622c8ea48b00771d5115a63c9e0
-rwxr-xr-xtools/cleanup-host1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/cleanup-host b/tools/cleanup-host
index daaf5f8dd..4a42b0a4e 100755
--- a/tools/cleanup-host
+++ b/tools/cleanup-host
@@ -84,6 +84,7 @@ echo "Getting folders name..."
for dir in $FOLDER_PATH/*; do
if [ "$dir" == "$FOLDER_PATH/passwords.yml" ] || \
[ "$dir" == "$FOLDER_PATH/globals.yml" ] || \
+ [ "$dir" == "$FOLDER_PATH/globals.d" ] || \
[ "$dir" == "$FOLDER_PATH/kolla-build.conf" ] || \
[ "$dir" == "$FOLDER_PATH/config" ] || \
[ "$dir" == "$FOLDER_PATH/certificates" ]; then