Clear cached packages after revalidation
This commit is contained in:
parent
b0173c836a
commit
d546d5236b
1 changed files with 7 additions and 0 deletions
|
@ -13,4 +13,11 @@
|
||||||
register: revalidate_command
|
register: revalidate_command
|
||||||
when: install_result.failed
|
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
|
# vim: sw=2
|
||||||
|
|
Loading…
Reference in a new issue