1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/win_psrepository/tasks/main.yml

17 lines
533 B
YAML
Raw Normal View History

# 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