-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup Module Empty File Path Warning #397
Comments
@jborean93 I see you deleted the setup-factor-path, does this fix the warning? And what version of ansible will this be fixed under? |
I just merged the PR which should fix the problem you found here. It will be present in the next release of |
SUMMARY
Ansible Setup module providing the below warnings:
[WARNING]: Error when collecting facter facts: Join-Path : Cannot find drive. A drive with the name 'z' does not exist. At line:9 char:31 + ...
$facterPath = Join-Path -Path $_ -ChildPath facter.exe + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo :
ObjectNotFound: (z:String) [Join-Path], DriveNotFoundException + FullyQualifiedErrorId : DriveNotFound,Microsoft.PowerShell.Commands.JoinPathCommand at
, : line 9 at , : line 3
[WARNING]: Error when collecting facter facts: Test-Path : Cannot bind argument to parameter 'LiteralPath' because it is null. At line:10 char:40 +
Test-Path -LiteralPath $facterPath + ~~~~~~~~~~~ + CategoryInfo : InvalidData: (:) [Test-Path],
ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.TestPathCommand at
, : line 10 at , : line 3
ISSUE TYPE
COMPONENT NAME
setup module
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
RHEL_8
STEPS TO REPRODUCE
EXPECTED RESULTS
No Warnings
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: