This is a very common workflow when using Ansible for provisioning an AWS EC2 instance. This post assumes a basic understand of Ansible and most importantly, assumes you've properly configured it to connect to AWS.
As Ansible official documentation insists, we are going to use four roles:
1- ami_f...