win_chocolatey: remove test packages after tests are run (#46431)

This commit is contained in:
Jordan Borean 2018-10-04 05:51:01 +10:00 committed by GitHub
parent d757a775cf
commit 1de88cbaa9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,6 +91,11 @@
include_tasks: tests.yml
always:
- name: ensure test package is uninstalled after tests
win_chocolatey:
name: '{{ test_choco_packages }}'
state: absent
- name: remove test sources
win_chocolatey_source:
name: '{{ item }}'