xoxys.postgres/tasks/config.yml

16 lines
416 B
YAML
Raw Normal View History

2018-10-16 18:53:36 +00:00
---
- block:
- name: Setup global config file
template:
src: postgresql/data/postgresql.conf.j2
dest: "{{ __postgres_config_path }}/postgresql.conf"
mode: 0600
notify: __postgres_restart
- name: Setup client authentication
template:
src: postgresql/data/pq_hba.conf.j2
dest: "{{ __postgres_config_path }}/pg_hba.conf"
mode: 0600
2018-10-16 18:53:36 +00:00
become: True
become_user: root