We will learn how to create Ansible Playbook for provisioning a new EC2 instance in AWS cloud.
Pre-requistes:
Ansible is installed and Boto is also installed on Ubuntu EC2 instance
Make sure you create an IAM role with AmazonEC2FullAccess policy and attach the role to EC2 instance.
source