Skip to content

Instantly share code, notes, and snippets.

@gonz
Created October 30, 2013 17:41
Show Gist options
  • Save gonz/7236849 to your computer and use it in GitHub Desktop.
Save gonz/7236849 to your computer and use it in GitHub Desktop.
- 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