Invalid Windows Host Path
Symptoms
An error message containing has an invalid path is displayed.
"msg": "Get-AnsibleParam: Parameter 'chdir' has an invalid path 'C:\\xxx\nginx\nginx-1.16.1' specified."
Cause Analysis
When the host runs a Windows OS, if the path uses backslashes (\), rather than forward slashes (/), this error will occur.
Solution
Change the backslash (\) in the path to a forward slash (/).
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.