Clear cached packages after revalidation

This commit is contained in:
László Károlyi 2020-12-18 15:38:56 +01:00
parent b0173c836a
commit d546d5236b
Signed by: karolyi
GPG key ID: 2DCAF25E55735BFE

View file

@ -13,4 +13,11 @@
register: revalidate_command
when: install_result.failed
- name: Cleaning downloaded package cache in jail
command:
/usr/sbin/pkg
-c {{ vars["jail_" + jail_name + "_new_path"] }}
clean -ayq
when: install_result.failed
# vim: sw=2