Skip to content

Add support for YAML files #35

@usrme

Description

@usrme

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions