Update aws ec2 autoscaling group with ansible

I have an autoscaling group with two hosts running. Both of them have the same ec2 tags. I need to use ec2.py (dynamic inventory) for retrieve the hosts associated with the autoscaling group.

What I need is:
1 - run ansible tasks in only one host of the autoscaling group
2 - create a new ami from that host
3 - create a new launch configuration point to the created ami
4 - update the autoscaling group with new launch configuration
5 - execute a rolling autoscaling group update
6 - exit

How can I do this??