Skip to content
This repository has been archived by the owner on Sep 18, 2018. It is now read-only.

Build a box with Ruby, PostgreSQL, nginx and Puma (uses Ansible)

Notifications You must be signed in to change notification settings

newstoryhomes/ansible-rails-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A small Rails server playbook for Ansible

Bastardised from https://github.com/dodecaphonic/ansible-rails-app

It installs:

  • Ruby 2.1
  • PostgreSQL
  • nginx
  • Puma (jungle)
  1. Change the app name and deploy directory in vars/defaults.yml.
  2. Rename hosts.example to hosts and change it to your hosts.

To run:

$ ansible-playbook -i hosts ruby-webapp.yml -t ruby,deploy,postgresql,nginx
$ <deploy your app>
$ ansible-playbook -i hosts ruby-webapp.yml -t puma

There is an example Capistrano deploy.rb in this repository that you can use too.

About

Build a box with Ruby, PostgreSQL, nginx and Puma (uses Ansible)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%