Closed HCY2315 closed 2 years ago
HI @HCY2315 It should be already been fixed on master branch. It doesn't belong to any release yet.
Could you use master branch instead of using the tag?
Here you have the fix: https://github.com/apenella/go-ansible/pull/103/files#diff-eafbef43147ddf52d1d65411fa7d41401688dfb40b5cfa0204ec675b30425d87R104
Hi there, Any update on when this will be available in a release?
Also, thanks for this awesome package!
Hi @thedarthcoder I don't have an estimated time for the next release. Since https://github.com/apenella/go-ansible/pull/103 is the only fix ready to be released, I am going to wait at least a couple of months before releasing it with fixes.
Thank you very much!
@thedarthcoder @HCY2315 the fix is already available on the release v1.1.7.
I close the issue. Thanks!
error info: json: cannot unmarshal bool into Go struct field AnsiblePlaybookJSONResultsPlayTaskHostsItem.plays.tasks.hosts.unreachable of type string: Error decoding results json: cannot unmarshal bool into Go struct field AnsiblePlaybookJSONResultsPlayTaskHostsItem.plays.tasks.hosts.unreachable of type string
The unreachable field in the buff information I checked is of bool type