ansible/test/integration/targets/win_psrepository/tasks/main.yml
2019-03-11 05:43:21 +10:00

16 lines
533 B
YAML

# This file is part of Ansible
# Copyright: (c) 2018, Wojciech Sciesinski <wojciech[at]sciesinski[dot]net>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
---
- name: unregister the repository
win_shell: Unregister-PSRepository {{ repository_name | quote }} -ErrorAction Ignore
- block:
- name: run all tests
include_tasks: tests.yml
always:
- name: ensure test repo is unregistered
win_shell: Unregister-PSRepository {{ repository_name | quote }} -ErrorAction Ignore