From 6996c544316b6e43fe97d8d660e934cf6032a5c6 Mon Sep 17 00:00:00 2001 From: samrose Date: Tue, 14 May 2024 23:43:32 -0400 Subject: [PATCH] fix: trying in second stage --- ansible-nix/tasks/stage2/stage2-setup-postgres.yml | 5 +++++ common-nix.vars.pkr.hcl | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ansible-nix/tasks/stage2/stage2-setup-postgres.yml b/ansible-nix/tasks/stage2/stage2-setup-postgres.yml index 1180ddd4f..96697f4f3 100644 --- a/ansible-nix/tasks/stage2/stage2-setup-postgres.yml +++ b/ansible-nix/tasks/stage2/stage2-setup-postgres.yml @@ -8,6 +8,11 @@ shell: | sudo -u postgres bash -c ". /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh && nix profile install github:supabase/postgres/sam/2-stage-ami-nix#pg_prove" +- name: Remove postgres user from users group + become: yes + command: gpasswd -d postgres users + + #TODO switch pg_prove sourcing to develop branch once PR is merged # - name: Generate en_US.UTF-8 locale diff --git a/common-nix.vars.pkr.hcl b/common-nix.vars.pkr.hcl index 5a9508cc8..8220d2301 100644 --- a/common-nix.vars.pkr.hcl +++ b/common-nix.vars.pkr.hcl @@ -1 +1 @@ -postgres-version = "15.6.1.26-nix-staged" +postgres-version = "15.6.1.27-nix-staged"