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