Skip to content

Commit

Permalink
postgresql: Fix idempotency
Browse files Browse the repository at this point in the history
  • Loading branch information
JGoutin committed Aug 26, 2024
1 parent bbb2102 commit e23271b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/postgresql/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@
community.postgresql.postgresql_query:
db: "{{ postgresql_database }}"
query: "ALTER DATABASE {{ postgresql_database }} REFRESH COLLATION VERSION"
changed_when: false
become: true
become_user: postgres
when: postgresql_database is defined
Expand Down

0 comments on commit e23271b

Please sign in to comment.