Skip to content

Commit 889dc70

Browse files
committed
fix: also remove from postgresql conf
1 parent b62e770 commit 889dc70

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

ansible/tasks/stage2-setup-postgres.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,15 @@
1010
set_fact:
1111
is_psql_oriole_16: "{{ psql_version == 'psql_oriole-16' }}"
1212

13-
- name: Remove 'timescaledb,' from supautils.conf
13+
- name: Remove 'timescaledb,' from supautils.conf if oriole-16 build
14+
ansible.builtin.lineinfile:
15+
path: /etc/postgresql/postgresql.conf if oriole-16 build
16+
regexp: 'timescaledb,'
17+
line: ''
18+
state: absent
19+
when: is_psql_oriole_16 and stage2_nix
20+
become: yes
21+
- name: Remove 'timescaledb,' from postgresql.conf
1422
ansible.builtin.lineinfile:
1523
path: /etc/postgresql-custom/supautils.conf
1624
regexp: 'timescaledb,'

ansible/vars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ postgres_major:
1111
postgres_release:
1212
#postgres15: "15.8.1.003-staging-5"
1313
#postgres16: "16.3.1.000-staging-5"
14-
postgresoriole-16: "oriole-16.3.1.000-staging-4"
14+
postgresoriole-16: "oriole-16.3.1.000-staging-5"
1515

1616
# Non Postgres Extensions
1717
pgbouncer_release: "1.19.0"

0 commit comments

Comments
 (0)