Skip to content

Commit 98bf3e0

Browse files
committed
fix: indenting
1 parent bc5be80 commit 98bf3e0

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

ansible/tasks/stage2-setup-postgres.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -155,24 +155,24 @@
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:

0 commit comments

Comments
 (0)