added support for debian buster

This commit is contained in:
nd 2019-07-14 14:51:45 +02:00
parent b8d95efb9c
commit f58bc3c54c
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
2 changed files with 3 additions and 1 deletions

View file

@ -9,7 +9,7 @@
- name: generate pg_hba
template:
src: pg_hba.conf.j2
dest: /etc/postgresql/9.6/main/pg_hba.conf
dest: "/etc/postgresql/{{ pg_version }}/main/pg_hba.conf"
owner: postgres
group: postgres
mode: 0640

View file

@ -2,3 +2,5 @@ monitoring:
checks:
local:
mk_postgres: {}
pg_version: "{% if ansible_distribution_release == 'stretch' %}9.6{% endif %}{% if ansible_distribution_release == 'buster' %}11{% endif %}"