From c9f5d5102efca1a13f0b84be38e9889b3983c458 Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Thu, 28 Nov 2024 18:40:22 -0500 Subject: [PATCH] feat: add an env var we can detect in various utilities for managing oriole machines --- ansible/tasks/stage2-setup-postgres.yml | 7 +++++++ ansible/vars.yml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ansible/tasks/stage2-setup-postgres.yml b/ansible/tasks/stage2-setup-postgres.yml index c3ce46941..facc1e54d 100644 --- a/ansible/tasks/stage2-setup-postgres.yml +++ b/ansible/tasks/stage2-setup-postgres.yml @@ -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 diff --git a/ansible/vars.yml b/ansible/vars.yml index 057e1b370..c0af41450 100644 --- a/ansible/vars.yml +++ b/ansible/vars.yml @@ -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"