├── .gitignore ├── CHANGELOG.md ├── MIT-LICENSE ├── bootstrap.yml ├── hosts.example ├── rails_deploy.yml ├── readme.md ├── roles ├── bootstrap │ ├── handlers │ │ └── main.yml │ ├── tasks │ │ ├── deployuser.yml │ │ ├── devtools.yml │ │ ├── locale.yml │ │ └── main.yml │ └── templates │ │ └── etc │ │ └── timezone ├── capistrano │ ├── tasks │ │ └── main.yml │ └── templates │ │ └── env.j2 ├── crons │ └── tasks │ │ └── main.yml ├── nginx-passenger │ ├── handlers │ │ └── main.yml │ ├── tasks │ │ └── main.yml │ └── templates │ │ ├── app.conf.j2 │ │ └── nginx.conf.j2 ├── nodejs │ └── tasks │ │ └── main.yml ├── postgres │ ├── handlers │ │ └── main.yml │ ├── tasks │ │ └── main.yml │ ├── templates │ │ ├── pg_hba.conf.j2 │ │ └── postgresql.conf.j2 │ └── vars │ │ └── main.yml ├── preinstall-gems │ └── tasks │ │ └── main.yml ├── rbenv-ruby │ ├── files │ │ ├── 50_rbenv.bash │ │ ├── bash_50_rbenv │ │ └── gemrc │ └── tasks │ │ ├── common-post.yml │ │ ├── main.yml │ │ └── ruby-install.yml ├── rbenv │ ├── files │ │ ├── 50_rbenv.bash │ │ ├── bash_50_rbenv │ │ └── gemrc │ ├── handlers │ │ ├── main.yml │ │ └── rbenv-configure.yml │ └── tasks │ │ ├── common-post.yml │ │ ├── common-prereqs.yml │ │ ├── main.yml │ │ └── rbenv-setup.yml ├── redis │ └── tasks │ │ └── main.yml ├── ruby-multi │ ├── meta │ │ └── main.yml │ └── tasks │ │ └── main.yml ├── security │ ├── handlers │ │ └── main.yml │ ├── tasks │ │ ├── fail2ban.yml │ │ ├── main.yml │ │ └── ufw.yml │ └── templates │ │ ├── jail.local.j2 │ │ └── ufw-ssh.conf.j2 └── swapfile │ ├── handlers │ └── main.yml │ └── tasks │ └── main.yml └── vars └── example.yml /.gitignore: -------------------------------------------------------------------------------- 1 | vars/all.yml 2 | hosts 3 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /MIT-LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/MIT-LICENSE -------------------------------------------------------------------------------- /bootstrap.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/bootstrap.yml -------------------------------------------------------------------------------- /hosts.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/hosts.example -------------------------------------------------------------------------------- /rails_deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/rails_deploy.yml -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/readme.md -------------------------------------------------------------------------------- /roles/bootstrap/handlers/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/bootstrap/handlers/main.yml -------------------------------------------------------------------------------- /roles/bootstrap/tasks/deployuser.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/bootstrap/tasks/deployuser.yml -------------------------------------------------------------------------------- /roles/bootstrap/tasks/devtools.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/bootstrap/tasks/devtools.yml -------------------------------------------------------------------------------- /roles/bootstrap/tasks/locale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/bootstrap/tasks/locale.yml -------------------------------------------------------------------------------- /roles/bootstrap/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/bootstrap/tasks/main.yml -------------------------------------------------------------------------------- /roles/bootstrap/templates/etc/timezone: -------------------------------------------------------------------------------- 1 | {{ timezone }} 2 | -------------------------------------------------------------------------------- /roles/capistrano/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/capistrano/tasks/main.yml -------------------------------------------------------------------------------- /roles/capistrano/templates/env.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/capistrano/templates/env.j2 -------------------------------------------------------------------------------- /roles/crons/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/crons/tasks/main.yml -------------------------------------------------------------------------------- /roles/nginx-passenger/handlers/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/nginx-passenger/handlers/main.yml -------------------------------------------------------------------------------- /roles/nginx-passenger/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/nginx-passenger/tasks/main.yml -------------------------------------------------------------------------------- /roles/nginx-passenger/templates/app.conf.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/nginx-passenger/templates/app.conf.j2 -------------------------------------------------------------------------------- /roles/nginx-passenger/templates/nginx.conf.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/nginx-passenger/templates/nginx.conf.j2 -------------------------------------------------------------------------------- /roles/nodejs/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/nodejs/tasks/main.yml -------------------------------------------------------------------------------- /roles/postgres/handlers/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/postgres/handlers/main.yml -------------------------------------------------------------------------------- /roles/postgres/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/postgres/tasks/main.yml -------------------------------------------------------------------------------- /roles/postgres/templates/pg_hba.conf.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/postgres/templates/pg_hba.conf.j2 -------------------------------------------------------------------------------- /roles/postgres/templates/postgresql.conf.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/postgres/templates/postgresql.conf.j2 -------------------------------------------------------------------------------- /roles/postgres/vars/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # vars file for postgres role 3 | -------------------------------------------------------------------------------- /roles/preinstall-gems/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/preinstall-gems/tasks/main.yml -------------------------------------------------------------------------------- /roles/rbenv-ruby/files/50_rbenv.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/rbenv-ruby/files/50_rbenv.bash -------------------------------------------------------------------------------- /roles/rbenv-ruby/files/bash_50_rbenv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/rbenv-ruby/files/bash_50_rbenv -------------------------------------------------------------------------------- /roles/rbenv-ruby/files/gemrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/rbenv-ruby/files/gemrc -------------------------------------------------------------------------------- /roles/rbenv-ruby/tasks/common-post.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/rbenv-ruby/tasks/common-post.yml -------------------------------------------------------------------------------- /roles/rbenv-ruby/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/rbenv-ruby/tasks/main.yml -------------------------------------------------------------------------------- /roles/rbenv-ruby/tasks/ruby-install.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/rbenv-ruby/tasks/ruby-install.yml -------------------------------------------------------------------------------- /roles/rbenv/files/50_rbenv.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/rbenv/files/50_rbenv.bash -------------------------------------------------------------------------------- /roles/rbenv/files/bash_50_rbenv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/rbenv/files/bash_50_rbenv -------------------------------------------------------------------------------- /roles/rbenv/files/gemrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/rbenv/files/gemrc -------------------------------------------------------------------------------- /roles/rbenv/handlers/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/rbenv/handlers/main.yml -------------------------------------------------------------------------------- /roles/rbenv/handlers/rbenv-configure.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/rbenv/handlers/rbenv-configure.yml -------------------------------------------------------------------------------- /roles/rbenv/tasks/common-post.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/rbenv/tasks/common-post.yml -------------------------------------------------------------------------------- /roles/rbenv/tasks/common-prereqs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/rbenv/tasks/common-prereqs.yml -------------------------------------------------------------------------------- /roles/rbenv/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/rbenv/tasks/main.yml -------------------------------------------------------------------------------- /roles/rbenv/tasks/rbenv-setup.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/rbenv/tasks/rbenv-setup.yml -------------------------------------------------------------------------------- /roles/redis/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/redis/tasks/main.yml -------------------------------------------------------------------------------- /roles/ruby-multi/meta/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/ruby-multi/meta/main.yml -------------------------------------------------------------------------------- /roles/ruby-multi/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/ruby-multi/tasks/main.yml -------------------------------------------------------------------------------- /roles/security/handlers/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/security/handlers/main.yml -------------------------------------------------------------------------------- /roles/security/tasks/fail2ban.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/security/tasks/fail2ban.yml -------------------------------------------------------------------------------- /roles/security/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/security/tasks/main.yml -------------------------------------------------------------------------------- /roles/security/tasks/ufw.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/security/tasks/ufw.yml -------------------------------------------------------------------------------- /roles/security/templates/jail.local.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/security/templates/jail.local.j2 -------------------------------------------------------------------------------- /roles/security/templates/ufw-ssh.conf.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/security/templates/ufw-ssh.conf.j2 -------------------------------------------------------------------------------- /roles/swapfile/handlers/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/swapfile/handlers/main.yml -------------------------------------------------------------------------------- /roles/swapfile/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/roles/swapfile/tasks/main.yml -------------------------------------------------------------------------------- /vars/example.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phawk/rails-deploy/HEAD/vars/example.yml --------------------------------------------------------------------------------