This project is under development and is not yet tested in any other that a vagrant box. Use at own risk!
This setup includes to following:
- Create a sudo, passwordless user, prevent root login
- Ip-tables, git
- Install ruby, rbenv, ruby-build
- Nginx with passenger module
- Github deployment keys from your home directory with authorized_keys acceptence
basic setup: ansible-playbook -i ansible_hosts setup.yml -k
ssh password: vagrant
other setup: ansible-playbook -i ansible_hosts tasks/ruby.yml tasks/your_application.yml
http://deangerber.com/blog/2011/09/10/basic-iptables-firewall-configuration/
Within the variables folder are *.example.yml files. Use these as templates to create your own configuration.
see http://www.dejonghenico.be/unix/create-vagrant-base-boxes-veewee for details