pants-plugins
pants-plugins copied to clipboard
[ansible] Evaluate a dedicated Ansible collection target type
What would this entail? A target generator like python_sources -> python_source?
@lilatomic had a lot of good ideas about this. Essentially, as roles/collections have a dedicated folder structure - determining the source root and then using that folder type to figure out what is part of that collection (and role, and whatever else) seems like a reasonable idea.
That might involve a generator to enumerate all the files, or maybe some resources/files targets in addition to code. Not sure exactly, but for now, a clever glob would work.