ansible shortcut for listing hosts from inventory

Ansible-playbook already has a list-hosts, so if it works the same way, yes.

--Michael

The only difference is that --list-hosts builds the list based on the playbooks provided whereas what I’m looking for is to be able to pass only the hosts/groups/patterns in and get the expanded list of hosts out. If that is acceptable, I’ll take a look at trying to implement it. I’ll be honest though, my python skills don’t exactly exist so I’m hoping it’ll be relatively straight-forward to simply boost the primary expansion logic out of --list-hosts.

submitted pull request #1741