Skip to content

Commit 1444882

Browse files
committed
feat: oriole specific default settings
1 parent feec1e5 commit 1444882

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

ansible/tasks/stage2-setup-postgres.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,20 @@
3232
/etc/postgresql/postgresql.conf
3333
when: is_psql_oriole and stage2_nix
3434
become: yes
35+
- name: Append orioledb to shared_preload_libraries append within closing quote
36+
ansible.builtin.command:
37+
cmd: >
38+
sed -i 's/\(shared_preload_libraries.*\)'\''\(.*\)$/\1, orioledb'\''\2/'
39+
/etc/postgresql/postgresql.conf
40+
when: is_psql_oriole and stage2_nix
41+
become: yes
42+
- name: Add default_table_access_method setting
43+
ansible.builtin.lineinfile:
44+
path: /etc/postgresql/postgresql.conf
45+
line: "default_table_access_method = 'orioledb'"
46+
state: present
47+
when: is_psql_oriole and stage2_nix
48+
become: yes
3549

3650
- name: Install Git for Nix package management
3751
become: yes

0 commit comments

Comments
 (0)