mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
deleting folder contents using find command
This commit is contained in:
parent
9b0b0f2a5f
commit
4c0813bd69
@ -26,7 +26,9 @@
|
||||
tasks:
|
||||
|
||||
- name: delete project directory before update
|
||||
command: "rm -rf {{project_path}}/*" # volume mounted, cannot delete folder itself
|
||||
command: "find -delete" # volume mounted, cannot delete folder itself
|
||||
args:
|
||||
chdir: "{{ project_path }}"
|
||||
tags:
|
||||
- delete
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user