This role will launch 3 AWS Amazon linux. and update your invenstory file with IP under master and slave host-group..
You must have login on your AWS CLI console using aws-configure option so that aaws-access-key and aws-secret-key would fetch from that..
- hosts: localhost
roles:
- { role: karanraj.aws-provison }