added support for debian buster
This commit is contained in:
parent
b8d95efb9c
commit
f58bc3c54c
2 changed files with 3 additions and 1 deletions
|
|
@ -9,7 +9,7 @@
|
||||||
- name: generate pg_hba
|
- name: generate pg_hba
|
||||||
template:
|
template:
|
||||||
src: pg_hba.conf.j2
|
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
|
owner: postgres
|
||||||
group: postgres
|
group: postgres
|
||||||
mode: 0640
|
mode: 0640
|
||||||
|
|
|
||||||
|
|
@ -2,3 +2,5 @@ monitoring:
|
||||||
checks:
|
checks:
|
||||||
local:
|
local:
|
||||||
mk_postgres: {}
|
mk_postgres: {}
|
||||||
|
|
||||||
|
pg_version: "{% if ansible_distribution_release == 'stretch' %}9.6{% endif %}{% if ansible_distribution_release == 'buster' %}11{% endif %}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue