Need a ansible code to deploy Rails application in AWS ec2 Instance

Hi Everyone

Hope you all doing good

Few months ago I have started working on Ansible IT Automation, and learned lot of fun in Ansible

I have successfully launched the AWS Ec2 Instances using Ansible.

I want to deploy ROR in that launched Ec2 Instances using ansible.

Please help thanks in Advance