Skip to content

Commit

Permalink
fix: also remove from postgresql conf
Browse files Browse the repository at this point in the history
  • Loading branch information
samrose committed Oct 18, 2024
1 parent b62e770 commit 889dc70
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion ansible/tasks/stage2-setup-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,15 @@
set_fact:
is_psql_oriole_16: "{{ psql_version == 'psql_oriole-16' }}"

- name: Remove 'timescaledb,' from supautils.conf
- name: Remove 'timescaledb,' from supautils.conf if oriole-16 build
ansible.builtin.lineinfile:
path: /etc/postgresql/postgresql.conf if oriole-16 build
regexp: 'timescaledb,'
line: ''
state: absent
when: is_psql_oriole_16 and stage2_nix
become: yes
- name: Remove 'timescaledb,' from postgresql.conf
ansible.builtin.lineinfile:
path: /etc/postgresql-custom/supautils.conf
regexp: 'timescaledb,'
Expand Down
2 changes: 1 addition & 1 deletion ansible/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ postgres_major:
postgres_release:
#postgres15: "15.8.1.003-staging-5"
#postgres16: "16.3.1.000-staging-5"
postgresoriole-16: "oriole-16.3.1.000-staging-4"
postgresoriole-16: "oriole-16.3.1.000-staging-5"

# Non Postgres Extensions
pgbouncer_release: "1.19.0"
Expand Down

0 comments on commit 889dc70

Please sign in to comment.