Merge pull request #12205 from sarabrajsingh/revert-and-fix-12186

Revert and fix 12186
This commit is contained in:
Sarabraj Singh 2022-05-10 15:29:56 -04:00 committed by GitHub
commit bfa5feb51b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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