Remove the cache when delete-on-update is set

This commit is contained in:
Bill Nottingham 2020-06-11 15:57:27 -04:00 committed by AlanCoding
parent 85ec3dd5c4
commit 72848fa097
No known key found for this signature in database
GPG Key ID: D0E673F5E7053218

View File

@ -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: