Created role to write a hosts_entry file to the playbooks directory

This relies on ec2 data, it should be modified to work as well in a standalone environment, or check for ec2 before running the play.