Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/icyleaf/ansible-centos-ruby-nginx-posgresql
Ansible delpoy centos + ruby + nginx + postgresql
https://github.com/icyleaf/ansible-centos-ruby-nginx-posgresql
Last synced: 14 days ago
JSON representation
Ansible delpoy centos + ruby + nginx + postgresql
- Host: GitHub
- URL: https://github.com/icyleaf/ansible-centos-ruby-nginx-posgresql
- Owner: icyleaf
- Created: 2014-01-22T06:51:56.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-22T14:17:54.000Z (almost 11 years ago)
- Last Synced: 2024-10-23T07:06:26.982Z (21 days ago)
- Language: VimL
- Size: 148 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ansbile deploy Centos with Ruby + Nginx + Postgresql
ansible directory layout based on [Ansible Best
Practices](https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CCwQFjAA&url=%68%74%74%70%3a%2f%2f%64%6f%63%73%2e%61%6e%73%69%62%6c%65%2e%63%6f%6d%2f%70%6c%61%79%62%6f%6f%6b%73%5f%62%65%73%74%5f%70%72%61%63%74%69%63%65%73%2e%68%74%6d%6c&ei=R2vfUpfhNoiciAe-z4CIAg&usg=AFQjCNEmMvyxmIayrLUjWJa4HFebs03QOg&sig2=cK5iNlmyCJujnZ7KyAErFQ).## Available Envs
* stage ([vagrant](http://www.vagrantup.com/) + [CentOS
box](https://github.com/2creatives/vagrant-centos/releases))
* production (any server)## Available Playbooks(roles)
* centos (common)
* vim + vundle + bundles
* zsh + oh-my-zsh
* nginx
* ruby 2.1
* postgresql 9.3## Configure
### stage
Enable debug mode, change `Vagrantfile`:
ansible.verbose = 'vvvv'
### production
Replace your server ip address (or domain) in `ansible/production`
[production]
10.10.10.10## Deploy it!
$ ansible-playbook -i production site.yml