Skip to content

Commit

Permalink
Merge pull request a-chernykh#44 from acorncom/patch-1
Browse files Browse the repository at this point in the history
Updated Postgres task to create a test DB
  • Loading branch information
a-chernykh committed Mar 2, 2016
2 parents 436e2ea + a163531 commit 57ac2b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/ansible/roles/postgresql/tasks/main.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
postgresql_db: name={{ postgresql_db_name }} owner={{ postgresql_db_user }}
sudo_user: postgres

- name: Create postgresql test database
postgresql_db: name={{ postgresql_db_name }}_test owner={{ postgresql_db_user }}
sudo_user: postgres

- name: Assure that config dir exists
file: path={{ shared_config_path }} state=directory

Expand Down

0 comments on commit 57ac2b5

Please sign in to comment.