From c19580691848e468936cc3aeb1ec8da38d5ef89d Mon Sep 17 00:00:00 2001 From: Patrick Marchand Date: Thu, 6 Feb 2020 16:06:34 -0500 Subject: [PATCH] Allow different postgres versions on buster and stretch --- postgresql/tasks/packages_buster.yml | 3 +++ postgresql/tasks/packages_stretch.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/postgresql/tasks/packages_buster.yml b/postgresql/tasks/packages_buster.yml index 12093e0a..3f45e84c 100644 --- a/postgresql/tasks/packages_buster.yml +++ b/postgresql/tasks/packages_buster.yml @@ -1,5 +1,8 @@ --- +- include: pgdg-repo.yml + when: postgresql_version != '11' + - name: Install postgresql package apt: name: diff --git a/postgresql/tasks/packages_stretch.yml b/postgresql/tasks/packages_stretch.yml index 6a500a43..d6a3aa5e 100644 --- a/postgresql/tasks/packages_stretch.yml +++ b/postgresql/tasks/packages_stretch.yml @@ -1,5 +1,8 @@ --- +- include: pgdg-repo.yml + when: postgresql_version != '9.6' + - name: Install postgresql package apt: name: