ansible/ansible — pull request #6721 by ingmar (2014-03-27 16:05:15+00:00)
Title: EC2 inventory uses AWS *Name* tag if available.

This changes the dynamic EC2 inventory to make use of the AWS *Name* tag where available. This has the effect that instead of seeing a series of gibberish `ec2-123-123-123-123.compute-15.amazonaws.com` hosts you see the content of the name tag (e.g. `db4`) when running playbooks.

You can also select by these names, e.g. `ansible -m ping db4` (previously you had to do this using `tag_Name_db4`, which of course also still works).

Hosts that do not have a *Name* tag keep showing up with the ec2 names as before.