Skip to content

Commit

Permalink
feat: add an env var we can detect in various utilities for managing …
Browse files Browse the repository at this point in the history
…oriole machines (#1344)
  • Loading branch information
samrose authored Nov 29, 2024
1 parent 1a42585 commit 1d8545c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions ansible/tasks/stage2-setup-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@
state: present
when: is_psql_oriole and stage2_nix
become: yes

- name: Add ORIOLEDB_ENABLED environment variable
ansible.builtin.lineinfile:
path: /etc/environment
line: 'ORIOLEDB_ENABLED=true'
when: is_psql_oriole and stage2_nix
become: yes

- name: Install Postgres from nix binary cache
become: yes
Expand Down
2 changes: 1 addition & 1 deletion ansible/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ postgres_major:

# Full version strings for each major version
postgres_release:
postgresorioledb-17: "orioledb-17.0.1.001"
postgresorioledb-17: "orioledb-17.0.1.002"
postgres15: "15.8.1.013"
postgres16: "16.3.1.019"

Expand Down

0 comments on commit 1d8545c

Please sign in to comment.