Created
January 15, 2015 13:44
-
-
Save carlesso/d3c71165583c1a40e28d to your computer and use it in GitHub Desktop.
db.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Create PostgreSQL Users for rails applications | |
sudo: yes | |
sudo_user: postgres | |
when: item.db == 'postgresql' | |
postgresql_user: db={{ item.postgresql.database }} name={{ item.postgresql.username }} password={{ item.postgresql.password }} priv=ALL | |
with_items: rails_applications |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment