Skip to content

Commit 893239c

Browse files
committed
chore: install latest libpq for pg15
1 parent bfe5f7b commit 893239c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

ansible/tasks/setup-postgrest.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
- name: PostgREST - system user
22
user: name=postgrest
33

4+
- name: Postgres - add PPA
5+
apt_repository:
6+
repo: "http://apt.postgresql.org/pub/repos/apt/ focal-pgdg {{ postgresql_major }}"
7+
state: present
8+
49
# libpq is a C library that enables user programs to communicate with
510
# the PostgreSQL database server.
611
- name: PostgREST - system dependencies
@@ -9,6 +14,11 @@
914
- libpq5
1015
- libnuma-dev
1116

17+
- name: Postgres - remove PPA
18+
apt_repository:
19+
repo: "http://apt.postgresql.org/pub/repos/apt/ focal-pgdg {{ postgresql_major }}"
20+
state: absent
21+
1222
- name: postgis - ensure dependencies do not get autoremoved
1323
shell: |
1424
set -e

0 commit comments

Comments
 (0)