Skip to content

Commit

Permalink
Update postgresql_db yaml syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
YPCrumble committed Jul 5, 2021
1 parent 82e1300 commit c20d479
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions roles/db/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@
- name: Ensure database is created
become: true
become_user: postgres
postgresql_db: name={{ db_name }}
encoding='UTF-8'
lc_collate='en_US.UTF-8'
lc_ctype='en_US.UTF-8'
template='template0'
state=present
postgresql_db:
name: "{{ db_name }}"
encoding: UTF-8
lc_collate: en_US.UTF-8
lc_ctype: en_US.UTF-8
template: template0
state: present

- name: Ensure user has access to the database
become: true
Expand Down

0 comments on commit c20d479

Please sign in to comment.