Closed wahello closed 3 years ago
hi @wahello!
I updated simple-ansibleadhoc to use json
stdout callback, and it finishes properly. (simple-ansibleadhoc has been updated on my local host)
❯ go run simple-ansibleadhoc.go
ansible all --inventory 127.0.0.1, --module-name ping --connection local
[127.0.0.1] (ping)
Host: 127.0.0.1
Changed: 0 Failures: 0 Ignored: 0 Ok: 1 Rescued: 0 Skipped: 0 Unreachable: 0
Can you share the panic's output?
Thanks!
hi @wahello! There is any update about you issue?
Thanks!
@wahello since there is any update about your issue, I am going to close it. In case you need anything else, just open a new issue! Thanks
I have some code as following:
res, err := results.JSONParse(buff.Bytes())
panic.