mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
1e2ce4c8ab
* fixes #26623 * Test-Path (and thus `-type path` in Get-AnsibleParam) fail on a nonexistent drive letter, since it can't be mapped to a PSProvider. * added support and basic smoke tests for
9 lines
174 B
PowerShell
9 lines
174 B
PowerShell
#powershell
|
|
|
|
#Requires -Module Ansible.ModuleUtils.Legacy
|
|
|
|
$params = Parse-Args $args
|
|
|
|
$path = Get-AnsibleParam -Obj $params -Name path -Type path
|
|
|
|
Exit-Json @{ path=$path }
|