Skip to content

Commit 9dd7eb5

Browse files
kaapstormclaude
andcommitted
Fix case mismatch between notify and handler name
The ansible-lint fix in 6371f59 capitalised the handler name to 'Restart postgresql' but left the two notify references as 'restart postgresql'. Ansible handler matching is case-sensitive, so the handler never fired and PostgreSQL was never restarted after its config was written, causing Molecule tests to fail. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 6371f59 commit 9dd7eb5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

roles/postgres/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
src: postgres/postgresql.conf.j2
6666
dest: /etc/postgresql/{{ postgresql_version }}/main/postgresql.conf
6767
mode: "0640"
68-
notify: restart postgresql
68+
notify: Restart postgresql
6969
tags:
7070
- provision
7171
- postgres
@@ -77,7 +77,7 @@
7777
src: postgres/pg_hba.conf.j2
7878
dest: /etc/postgresql/{{ postgresql_version }}/main/pg_hba.conf
7979
mode: "0640"
80-
notify: restart postgresql
80+
notify: Restart postgresql
8181
tags:
8282
- provision
8383
- postgres

0 commit comments

Comments
 (0)