Attach an IAM role to existing EC2 instances

Hi,
I am trying to attach and IAM role to a set of existing EC2 instances based on the Tag value. Is there a module readily available in Ansible now? Any suggestions?