mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
16 lines
533 B
YAML
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
|