I've been using Heroku to deploy my Rails apps but I always wanted to learn how it all works under the hood. Over the last couple of months, I decided to learn more about how to set up a server and deploy a Rails app to production. I've made this open-source project to consolidate my learning.<p>This Ansible playbook includes roles for performing the following tasks -<p>* Installation of common packages<p>* Ruby (via rbenv)<p>* Rails 6, Puma, Sidekiq<p>* Redis<p>* Nodejs/Webpack/yarn<p>* Postgresql + saving daily backups to S3<p>* Install Puma, nginx & Certbot (for Letsencrypt SSL Certs)<p>* Deploying using Ansistrano<p>Let me know what you guys think about it.