diff --git a/tasks/config.yml b/tasks/config.yml index fab67ba..9385096 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -6,10 +6,12 @@ dest: "{{ __postgres_config_path }}/postgresql.conf" mode: 0600 notify: __postgres_restart + - name: Setup client authentication template: - src: postgresql/data/pq_hba.conf.j2 + src: postgresql/data/pg_hba.conf.j2 dest: "{{ __postgres_config_path }}/pg_hba.conf" mode: 0600 + notify: __postgres_restart become: True become_user: root