Restore project APT repos which are more up-to-date than Debian repo

Closes tildes-community/tildes-cf#31

See merge request tildes-community/tildes-cf!15
This commit is contained in:
talklittle
2025-02-03 04:45:11 +00:00
committed by Deimos
parent 6e85d8fef4
commit 3a857108d2
4 changed files with 26 additions and 4 deletions
+8
View File
@@ -1,4 +1,12 @@
---
- name: Add APT key for PostgreSQL repository
apt_key:
url: https://www.postgresql.org/media/keys/ACCC4CF8.asc
- name: Add PostgreSQL APT repository
apt_repository:
repo: deb https://apt.postgresql.org/pub/repos/apt bookworm-pgdg main
- name: Install PostgreSQL
apt:
name: postgresql-{{ postgresql_version }}