Much like with #28, support for YAML-based Ansible inventory files would also be very handy. The same 'ansible_host' heuristic can be used as every host object will have a requisite ansible_host property.
After a brief search, 'goccy/go-yaml' seems like the most up-to-date YAML library to use for Go, though it might be easier to shell out to something like 'yq', grab all hosts with ansible_host, and return that to the program for further processing.
Much like with #28, support for YAML-based Ansible inventory files would also be very handy. The same 'ansible_host' heuristic can be used as every host object will have a requisite
ansible_hostproperty.After a brief search, 'goccy/go-yaml' seems like the most up-to-date YAML library to use for Go, though it might be easier to shell out to something like 'yq', grab all hosts with
ansible_host, and return that to the program for further processing.