More information about host in the heading

When running tasks Ansible will print the hostname it connected to as the heading.

E.g.

`
GATHERING FACTS ***************************************************************
ok: [ec2-…eu-west-1.compute.amazonaws.com]

`

If I use a static inventory file this will be the name in my hosts file, but now that I’m using ec2.py it prints the above.

Is there any way to get it to print some more information, like tag_Name from EC2? Any ideas?

output is controlled by callback plugins, you can easily customize
this be adding your own.

http://docs.ansible.com/developing_plugins.html#callbacks

Interesting. I didn’t know that. I will have to try and see what I can do with it. Thanks for the tip.