Add support debian 13 for postgresql rôle and PG13
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Eric Morino 2021-06-21 11:31:03 +02:00
parent 6190c66445
commit cb257ef927
2 changed files with 19 additions and 0 deletions

View File

@ -10,6 +10,9 @@
- include: packages_buster.yml
when: ansible_distribution_major_version is version('10', '>=')
- include: packages_bullseye.yml
when: ansible_distribution_major_version is version('11', '>=')
- include: config.yml
- include: nrpe.yml

View File

@ -0,0 +1,16 @@
---
- name: "Set variables (Debian 11)"
set_fact:
postgresql_version: '13'
when: postgresql_version is none or postgresql_version | length == 0
- include: pgdg-repo.yml
when: postgresql_version != '13'
- name: Install postgresql package
apt:
name:
- postgresql
- pgtop
- libdbd-pg-perl