File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed
Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change 155155 path : ' /var/lib/postgresql/.nix-profile/bin/'
156156 register : ' nix_links'
157157
158- - name : Check if psql_version is psql_15
159- set_fact :
160- is_psql_15 : " {{ psql_version == 'psql_15' }}"
161-
162- - name : Install gatekeeper if not pg15
163- when :
164- - stage2_nix
165- - not is_psql_15
166- block :
167- - name : Install gatekeeper from nix binary cache
168- become : yes
169- shell : |
170- 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"
158+ - name : Check if psql_version is psql_15
159+ set_fact :
160+ is_psql_15 : " {{ psql_version == 'psql_15' }}"
161+
162+ - name : Install gatekeeper if not pg15
163+ when :
164+ - stage2_nix
165+ - not is_psql_15
166+ block :
167+ - name : Install gatekeeper from nix binary cache
168+ become : yes
169+ shell : |
170+ 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"
171171
172- - name : Create symbolic link for linux-pam to find pam_jit_pg.so
173- become : yes
174- shell : |
175- 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
172+ - name : Create symbolic link for linux-pam to find pam_jit_pg.so
173+ become : yes
174+ shell : |
175+ 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
176176
177177 - name : Create symlinks for Nix files into /usr/lib/postgresql/bin
178178 ansible.builtin.file :
You can’t perform that action at this time.
0 commit comments