> If anyone wants to work on enhancing this - I'd love for it to take a
> playbooks path and look for any other playbook referencing this playbook
> and traversing those for hosts as well.
I actually don't think that should be in core that way, but could be another script on top that calls this as is, yeah.
You could list the playbook files in the git diff, find all the playbook files in the diff, and run ansible-playbook --list-hosts on all of them, I'd think.
You would want to make sure something was a playbook and not a task list or it might not work great though. This might need be a bit of a fuzzy match, unless you have the convention of putting all your tasks and handler file includes in a "tasks/" directory or something (which is a good idea anyway).
> I just want to be able to have admins on the team I'm on be able to know
> what they are going to impact before running it.