Skip to content
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

Fix problem setting PATH with erroneous quote in SQLServer path #796

Merged
merged 1 commit into from
May 29, 2019

Conversation

sxa
Copy link
Member

@sxa sxa commented May 29, 2019

This should fix the issue caused by the entry with an erroneous " mark in the SQL Server PATH that causes SETX to get very confused resulting in this error:

TASK [cygwin : Add c:\cygwin64\bin to front of %PATH%] *************************
fatal: [40.121.164.56]: FAILED! => {"changed": true, "cmd": "setx /M PATH \"C:\\cygwin64\\bin;%PATH%\"", "delta": "0:00:00.125003", "end": "2019-05-28 03:32:41.392060", "msg": "non-zero return code", "rc": 1, "start": "2019-05-28 03:32:41.267057", "stderr": "ERROR: Invalid syntax. Default option is not allowed more than '2' time(s).\r\nType \"SETX /?\" for usage.\r\n", "stderr_lines": ["ERROR: Invalid syntax. Default option is not allowed more than '2' time(s).", "Type \"SETX /?\" for usage."], "stdout": "", "stdout_lines": []}
	to retry, use: --limit @/root/openjdk-infrastructure/ansible/playbooks/AdoptOpenJDK_Windows_Playbook/main.retry

Signed-off-by: Stewart Addison sxa@uk.ibm.com

Signed-off-by: Stewart Addison <sxa@uk.ibm.com>
@sxa sxa added this to the 2019 May milestone May 29, 2019
@sxa sxa requested a review from HusainYusufali May 29, 2019 11:16
@sxa sxa self-assigned this May 29, 2019
Copy link
Contributor

@karianna karianna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants