Cette page n'est pas encore disponible dans votre langue. Nous nous efforçons d'ajouter d'autres langues. Nous vous remercions de votre compréhension.

On this page

Invalid Windows Host Path

Updated on 2023-11-28 GMT+08:00

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

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback