Minor updates

This commit is contained in:
Wojciech Sciesinski 2018-11-24 16:03:45 +01:00
parent ab01a33922
commit 67c73b8fdf
2 changed files with 3 additions and 2 deletions

View file

@ -3,11 +3,12 @@
# 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: get PowerShell version
win_shell: '$PSVersionTable.PSVersion.Major'
register: powershell_major_version
- name: Perform integration tests for Powershell 5+
when: powershell_major_version.stdout | int >= 5
block:

View file

@ -173,4 +173,4 @@
- "'{{ result_adding_repository_3.stdout_lines[0] }}' == '1'"
- "'{{ result_adding_repository_3.stdout_lines[1] }}' == '{{ repository_sourcelocation }}'"
- "'{{ result_adding_repository_3.stdout_lines[2] }}' == 'Untrusted'"
when: not in_check_mode
when: not in_check_mode