You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/win_psrepository/tasks/main.yml

17 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