Skip to content

Commit b7cf43e

Browse files
author
Adam
committed
Updates to support Debian 13 And migrate to deb822
2 parents f06fb47 + 3499751 commit b7cf43e

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

defaults/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -838,6 +838,7 @@ postgresql_install_repository: true
838838
# APT settings
839839
postgresql_apt_key_id: "ACCC4CF8"
840840
postgresql_apt_key_url: "https://www.postgresql.org/media/keys/ACCC4CF8.asc"
841+
postgresql_apt_repository_url: "https://apt.postgresql.org/pub/repos/apt"
841842
# postgresql_apt_keyring: "/usr/share/postgresql-common/pgdg/apt.postgresql.org.gpg"
842843

843844
# repsoitory base

tasks/install_apt.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
- curl
1616
- gnupg
1717
- lsb-release
18+
- python3-debian
1819
state: present
1920
update_cache: true
2021
when: ansible_facts['pkg_mgr'] == 'apt'
@@ -76,7 +77,6 @@
7677
- (postgresql_apt_dependencies | default([])) | length > 0
7778

7879
# --- Install PostgreSQL packages from PGDG ---
79-
# Use default_release only if we know the suite; this avoids "invalid APT::Default-Release" errors.
8080
- name: Install PostgreSQL server/client/contrib
8181
ansible.builtin.apt:
8282
name:
@@ -86,9 +86,6 @@
8686
state: present
8787
update_cache: true
8888
cache_valid_time: "{{ apt_cache_valid_time | default(3600) }}"
89-
default_release: >-
90-
{{ postgresql_default_release
91-
| default(postgresql_apt_suite | default(omit)) }}
9289
environment: "{{ postgresql_env | default({}) }}"
9390
when: ansible_facts['pkg_mgr'] == 'apt'
9491

vars/trixie.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
postgresql_ext_postgis_deps:
55
- "postgresql-{{postgresql_version}}-postgis-3"
6-
- "postgresql-{{postgresql_version}}-postgis-3-scripts"
6+
- "postgresql-{{postgresql_version}}-postgis-3-scripts"

0 commit comments

Comments
 (0)