Skip to content

Commit cee882e

Browse files
committed
fix: should be remove git
1 parent 30c13f8 commit cee882e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ansible/tasks/stage2-setup-postgres.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,13 @@
4343
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"
4444
when: stage2_nix
4545

46-
- name: Install Git for Nix package management
46+
- name: Remove Git after Nix package installations
4747
become: yes
4848
apt:
4949
name: git
50-
state: present
51-
update_cache: yes
50+
state: absent
51+
autoremove: yes
52+
purge: yes
5253
when: stage2_nix
5354

5455
- name: Set ownership and permissions for /etc/ssl/private

0 commit comments

Comments
 (0)