File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 95
95
sudo -u postgres bash -c ". /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh && nix profile install github:supabase/postgres/{{ git_commit_sha }}#{{postgresql_version}}_src"
96
96
when : stage2_nix
97
97
98
- - name : Check psql_version and install gatekeeper if not pg15
98
+ - name : Check if psql_version is psql_15
99
+ set_fact :
100
+ is_psql_15 : " {{ psql_version == 'psql_15' }}"
101
+
102
+ - name : Install gatekeeper if not pg15
103
+ when :
104
+ - stage2_nix
105
+ - not is_pgsql_15
99
106
block :
100
- - name : Check if psql_version is psql_15
101
- set_fact :
102
- is_psql_15 : " {{ psql_version == 'psql_15' }}"
103
-
104
- - name : Install gatekeeper from nix binary cache
107
+ - name : Install gatekeeper from nix binary cache
105
108
become : yes
106
109
shell : |
107
110
sudo -u postgres bash -c ". /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh && nix profile install github:supabase/postgres/{{ git_commit_sha }}#gatekeeper"
108
- when : stage2_nix and not is_psql_15
109
111
110
112
- name : Create symbolic link for linux-pam to find pam_jit_pg.so
111
113
shell : >
112
114
sudo ln -s /var/lib/postgresql/.nix-profile/lib/security/pam_jit_pg.so $(find /nix/store -type d -path "/nix/store/*-linux-pam-*/lib/security" -print -quit)/pam_jit_pg.so
113
115
become : yes
114
- when : stage2_nix and not is_psql_15
115
116
116
117
- name : Set ownership and permissions for /etc/ssl/private
117
118
become : yes
You can’t perform that action at this time.
0 commit comments