Note: This Ansible script is for Ubuntu 20.04 LTS server. This Ansible script will setup a server with the following components
- Ruby
- Nginx web server
- Passenger app server
- PostgreSQL
- Sidekiq (Optional)
To learn how to use this script, refer to this post : https://rubyyagi.com/rails-deploy-automate-ansible/