Created
October 30, 2013 17:41
-
-
Save gonz/7236849 to your computer and use it in GitHub Desktop.
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: Update default locale to 'en_US.utf8' | |
command: update-locale LC_ALL="en_US.utf8" | |
sudo: True | |
- name: Install db packages | |
apt: pkg=$item state=installed | |
with_items: | |
- postgresql-9.1 | |
- postgresql-contrib-9.1 | |
- postgresql-server-dev-9.1 | |
sudo: True | |
- name: Create ttwick database | |
postgresql_db: db=xxx | |
encoding='utf8' | |
lc_collate='en_US.UTF-8' | |
lc_ctype='en_US.UTF-8' | |
template='template0' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment