mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
win_pagefile: not using testPath (#57093)
* win_pagefile: not using testPath * Added changelog
This commit is contained in:
committed by
ansibot
parent
1ed7a654ba
commit
a87495d07c
@@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "win_pagefile - not using testPath"
|
||||
@@ -91,7 +91,7 @@ if ($state -eq "absent") {
|
||||
}
|
||||
|
||||
# Make sure drive is accessible
|
||||
if (($test_path) -and (-not (Test-Path "${drive}:"))) {
|
||||
if (($testPath) -and (-not (Test-Path "${drive}:"))) {
|
||||
Fail-Json $result "Unable to access '${drive}:' drive"
|
||||
}
|
||||
|
||||
|
||||
@@ -99,7 +99,6 @@ lib/ansible/modules/windows/win_pagefile.ps1 PSAvoidUsingCmdletAliases
|
||||
lib/ansible/modules/windows/win_pagefile.ps1 PSAvoidUsingPositionalParameters
|
||||
lib/ansible/modules/windows/win_pagefile.ps1 PSAvoidUsingWMICmdlet
|
||||
lib/ansible/modules/windows/win_pagefile.ps1 PSCustomUseLiteralPath
|
||||
lib/ansible/modules/windows/win_pagefile.ps1 PSUseDeclaredVarsMoreThanAssignments
|
||||
lib/ansible/modules/windows/win_pagefile.ps1 PSUseSupportsShouldProcess
|
||||
lib/ansible/modules/windows/win_pester.ps1 PSCustomUseLiteralPath
|
||||
lib/ansible/modules/windows/win_product_facts.ps1 PSAvoidTrailingWhitespace
|
||||
|
||||
Reference in New Issue
Block a user