mirror of
https://github.com/ansible/awx.git
synced 2026-10-29 22:03:20 -02:30
Remove the cache when delete-on-update is set
This commit is contained in:
@@ -30,6 +30,13 @@
|
||||
tags:
|
||||
- delete
|
||||
|
||||
- name: delete project cache directory before update
|
||||
file:
|
||||
path: "{{project_cache|quote}}"
|
||||
state: absent
|
||||
tags:
|
||||
- delete
|
||||
|
||||
- block:
|
||||
- name: update project using git
|
||||
git:
|
||||
|
||||
Reference in New Issue
Block a user