AWS IAM Roles

Hi,

Has anyone had any experience managing AWS IAM roles with Ansible? For example creation of IAM roles, groups etc.

I would like to use IAM roles as the method of providing an instance with access to S3 buckets, as opposed to storing them as environment/config variables on the machine.

Thanks,

Steve