Revert "fixing rm -Rf logic to delete contents of folder but leave parent folder intact"

This reverts commit df2d303ab0a92b6daf0714bf3a30a2de4fb77e4e.
This commit is contained in:
Sarabraj Singh 2022-05-10 14:06:09 -04:00
parent e87c121f8f
commit 9b0b0f2a5f
No known key found for this signature in database
GPG Key ID: DB2C5CAED943C5BE

View File

@ -26,10 +26,9 @@
tasks:
- name: delete project directory before update
command: "rm -rf {{project_path}}/* {{project_path}}/.* 2>&-" # volume mounted, cannot delete folder itself
command: "rm -rf {{project_path}}/*" # volume mounted, cannot delete folder itself
tags:
- delete
ignore_errors: true
- block:
- name: update project using git