Skip to content

Commit 1d8545c

Browse files
authored
feat: add an env var we can detect in various utilities for managing oriole machines (#1344)
1 parent 1a42585 commit 1d8545c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

ansible/tasks/stage2-setup-postgres.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@
4949
state: present
5050
when: is_psql_oriole and stage2_nix
5151
become: yes
52+
53+
- name: Add ORIOLEDB_ENABLED environment variable
54+
ansible.builtin.lineinfile:
55+
path: /etc/environment
56+
line: 'ORIOLEDB_ENABLED=true'
57+
when: is_psql_oriole and stage2_nix
58+
become: yes
5259

5360
- name: Install Postgres from nix binary cache
5461
become: yes

ansible/vars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ postgres_major:
99

1010
# Full version strings for each major version
1111
postgres_release:
12-
postgresorioledb-17: "orioledb-17.0.1.001"
12+
postgresorioledb-17: "orioledb-17.0.1.002"
1313
postgres15: "15.8.1.013"
1414
postgres16: "16.3.1.019"
1515

0 commit comments

Comments
 (0)