Skip to content

Commit

Permalink
Add locale role and add travis badges
Browse files Browse the repository at this point in the history
  • Loading branch information
nickjj committed Jun 27, 2014
1 parent ef25b3d commit cc1ffa9
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
3 changes: 1 addition & 2 deletions ansible-install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash

# modified from:
# https://github.com/ginas/ginas/
# modified from: https://github.com/ginas/ginas/

set -e

Expand Down
21 changes: 11 additions & 10 deletions rails-basic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,25 @@ It is a set of [ansible](http://www.ansible.com/home) roles to setup 1 or more s

Ansible version 1.6+ must be installed to use this playbook.

`$ ansible-galaxy install nickjj.user nickjj.security nickjj.postgres nickjj.ruby nickjj.nodejs nickjj.nginx nickjj.rails nickjj.pumacorn nickjj.monit DavidWittman.redis --force`
`$ ansible-galaxy install nickjj.locale nickjj.user nickjj.security nickjj postgres nickjj.ruby nickjj.nodejs nickjj.nginx nickjj.rails nickjj.pumacorn nickjj.monit DavidWittman.redis --force`

If you get permission errors, run the command with `sudo`.

## Roles used

If you are having issues running any tasks then please consult with the documentation for that specific role.

- `nickjj.user` https://github.com/nickjj/ansible-user
- `nickjj.locale` https://github.com/nickjj/ansible-locale [![Build Status](https://secure.travis-ci.org/nickjj/ansible-locale.png)](http://travis-ci.org/nickjj/ansible-locale)
- `nickjj.user` https://github.com/nickjj/ansible-user [![Build Status](https://secure.travis-ci.org/nickjj/ansible-user.png)](http://travis-ci.org/nickjj/ansible-user)
- `nickjj.security` https://github.com/nickjj/ansible-security
- `nickjj.postgres` https://github.com/nickjj/ansible-postgres
- `nickjj.ruby` https://github.com/nickjj/ansible-ruby
- `nickjj.rails` https://github.com/nickjj/ansible-rails
- `nickjj.pumacorn` https://github.com/nickjj/ansible-pumacorn
- `nickjj.monit` https://github.com/nickjj/ansible-monit
- `nickjj.nodejs` https://github.com/nickjj/ansible-nodejs
- `nickjj.nginx` https://github.com/nickjj/ansible-nginx
- `DavidWittman.redis` https://github.com/DavidWittman/ansible-redis
- `nickjj.postgres` https://github.com/nickjj/ansible-postgres [![Build Status](https://secure.travis-ci.org/nickjj/ansible-postgres.png)](http://travis-ci.org/nickjj/ansible-postgres)
- `nickjj.ruby` https://github.com/nickjj/ansible-ruby [![Build Status](https://secure.travis-ci.org/nickjj/ansible-ruby.png)](http://travis-ci.org/nickjj/ansible-ruby)
- `nickjj.rails` https://github.com/nickjj/ansible-rails [![Build Status](https://secure.travis-ci.org/nickjj/ansible-rails.png)](http://travis-ci.org/nickjj/ansible-rails)
- `nickjj.pumacorn` https://github.com/nickjj/ansible-pumacorn [![Build Status](https://secure.travis-ci.org/nickjj/ansible-pumacorn.png)](http://travis-ci.org/nickjj/ansible-pumacorn)
- `nickjj.monit` https://github.com/nickjj/ansible-monit [![Build Status](https://secure.travis-ci.org/nickjj/ansible-monit.png)](http://travis-ci.org/nickjj/ansible-monit)
- `nickjj.nodejs` https://github.com/nickjj/ansible-nodejs [![Build Status](https://secure.travis-ci.org/nickjj/ansible-nodejs.png)](http://travis-ci.org/nickjj/ansible-nodejs)
- `nickjj.nginx` https://github.com/nickjj/ansible-nginx [![Build Status](https://secure.travis-ci.org/nickjj/ansible-nginx.png)](http://travis-ci.org/nickjj/ansible-nginx)
- `DavidWittman.redis` https://github.com/DavidWittman/ansible-redis [![Build Status](https://secure.travis-ci.org/DavidWittman/ansible-redis.png)](http://travis-ci.org/DavidWittman/ansible-redis)

## Things you need to provide

Expand Down
7 changes: 7 additions & 0 deletions rails-basic/inventory/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ secrets_redis_password: "{{ lookup('password', secrets_load_path + '/redis_passw

ansible_ssh_user: deploy

# -----------------------------------------------------------------------------
# locale
# -----------------------------------------------------------------------------
# default values you can overwrite with documentation:
# https://github.com/nickjj/ansible-locale/#role-variables
# -----------------------------------------------------------------------------

# -----------------------------------------------------------------------------
# user
# -----------------------------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions rails-basic/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
sudo: true

roles:
- { role: nickjj.locale, tags: [common, locale] }
- { role: nickjj.user, tags: [common, user] }

- name: ensure database servers are configured
Expand Down

0 comments on commit cc1ffa9

Please sign in to comment.