From 87d09275a0971fa195fc709702cd02c1df90987b Mon Sep 17 00:00:00 2001 From: Eric Morino Date: Fri, 4 Aug 2023 10:14:37 +0200 Subject: [PATCH] postgresql: fix file postgresql.pref.j2 for exclude package --- CHANGELOG.md | 1 + postgresql/templates/postgresql.pref.j2 | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d948e74c..12d504e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -46,6 +46,7 @@ The **patch** part changes is incremented if multiple releases happen the same m * redis: standardize plugins path from /usr/local/share/munin/ to /usr/local/lib/munin/plugins/ * postfix: new spam.sh update script that avoids reloading if files did not change. * postgresql: fix task "update apt cache" for PGDG repo +* postgresql: fix file postgresql.pref.j2 for exclude package ### Fixed diff --git a/postgresql/templates/postgresql.pref.j2 b/postgresql/templates/postgresql.pref.j2 index 5d252e05..40b500a9 100644 --- a/postgresql/templates/postgresql.pref.j2 +++ b/postgresql/templates/postgresql.pref.j2 @@ -1,3 +1,8 @@ Package: postgresql-{{ postgresql_version }} postgresql-client-common postgresql-common libpq5 ptop Pin: release a={{ ansible_distribution_release }}-pgdg Pin-Priority: 999 + +Package: * +Pin: release a=buster-pgdg +Pin-Priority: 1 +