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

(cherry picked from commit 1de88cbaa9)
This commit is contained in:
Jordan Borean 2018-10-04 05:51:01 +10:00 committed by Toshio Kuratomi
parent 3cfbc2791f
commit 2388126bdf

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 }}'