Skip to content

sapun/rails_stack_provision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rails server playbook for Ansible

Installation

For Ubuntu

apt-get install ansible

##It installs:

  • Fix timezones, locales
  • Create deploy user with keys
  • Ruby 2.2 from brightbox repo
  • PostgreSQL 9.4
  • nginx
  • create dirs for capistrano
  • crete database.yml

Run

Rename sample files

Put developers keys in files/keys/developers.pub and play

./play playing main.yml on testing environment

./play production playing main.yml on production environment

TODO: add support systemd and add new roles =)

About

Provision infrastructure for Rails Application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages