-
Notifications
You must be signed in to change notification settings - Fork 142
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
when i use Verbose=true in playbookOptions, parsejson fail invalid character 'a' looking for beginning of value #110
Comments
the version that i use is the lastest |
oh i know the reason. when use verbose,the buff not only contains the json struct value,the buff contains something detail about the playbook ,they are not json struct |
Hi @YXY-121 I would like to think a solution in depth, no just to solve that issue but how to set some restrictions depending on the stdout callback. |
hi @apenella |
Hi @YXY-121 I am about to start working on 1.2.0 where I want to release a few minor features, and as soon as I release them I am going to start working on 2.0.0. |
The fix is available in https://github.com/apenella/go-ansible/releases/tag/v2.0.0 |
when i use “Verbose: true ” in playbook.AnsiblePlaybookOptions,output could not be parsed to result.AnsiblePlaybookJSONResult struct and err:invalid character 'a' looking for beginning of value
but if i set “Verbose: false ”,the json parse ok.
can u help me?thank u very much!
The text was updated successfully, but these errors were encountered: