Skip to content

Commit

Permalink
remove notify handler for ansible 2.9 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Vonng committed Sep 7, 2024
1 parent bef13b1 commit 3bc3b5b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions roles/pgsql/tasks/patroni.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@
tags: pg_hba
become_user: "{{ pg_dbsu }}"
template: src=pg_hba.conf.j2 dest=/pg/data/pg_hba.conf owner={{ pg_dbsu }} group=postgres mode=0600
notify: "reload postgres"

#--------------------------------------------------------------#
# Generate postgresql.auto.conf [pg_param]
Expand All @@ -229,10 +228,6 @@
{% for key, value in pg_parameters.items() %}
{{ key }} = '{{ value }}'
{% endfor %}
notify: "reload postgres"

- name: reload param & hba immediately
ansible.builtin.meta: flush_handlers
#--------------------------------------------------------------#
Expand Down

0 comments on commit 3bc3b5b

Please sign in to comment.