Minor updates
This commit is contained in:
parent
ab01a33922
commit
67c73b8fdf
2 changed files with 3 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue