Skip to content

Commit 6f7b01f

Browse files
committed
chore: remove rendundant
1 parent 93a6cf8 commit 6f7b01f

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

ansible/tasks/setup-wal-g.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,6 @@
3333
sudo -u wal-g bash -c ". /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh && nix profile install github:supabase/postgres/{{ git_commit_sha }}#wal-g-3"
3434
when: stage2_nix
3535

36-
- name: Create symlink for wal-g from Nix profile to /usr/local/bin
37-
ansible.builtin.file:
38-
src: /home/wal-g/.nix-profile/bin/wal-g-2
39-
dest: /usr/local/bin/wal-g
40-
state: link
41-
force: yes # This will replace existing file/symlink if it exists
42-
become: yes # Need sudo to write to /usr/local/bin
43-
when: stage2_nix
44-
4536
- name: Create symlink for wal-g-3 from Nix profile to /usr/local/bin
4637
ansible.builtin.file:
4738
src: /home/wal-g/.nix-profile/bin/wal-g-3
@@ -51,7 +42,7 @@
5142
become: yes # Need sudo to write to /usr/local/bin
5243
when: stage2_nix
5344

54-
- name: Create symlink to make wal-g-v3 the default wal-g
45+
- name: Create symlink to make wal-g-v2 the default wal-g
5546
ansible.builtin.file:
5647
src: /usr/local/bin/wal-g-v2
5748
dest: /usr/local/bin/wal-g

0 commit comments

Comments
 (0)