Skip to content

Commit 8d21818

Browse files
committed
fix: just link psql
1 parent 7dedb19 commit 8d21818

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

ansible-nix/tasks/stage2/stage2-setup-postgres.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,9 @@
117117

118118
- name: Create symbolic links from /home/postgres/.nix-profile/bin to /usr/bin
119119
file:
120-
src: "{{ item }}"
121-
dest: "/usr/bin/{{ item | basename }}"
120+
src: "/home/postgres/.nix-profile/bin/psql"
121+
dest: "/usr/bin/psql"
122122
state: link
123-
with_fileglob:
124-
- "/home/postgres/.nix-profile/bin/*"
125123
become: yes
126124

127125
- name: Create symbolic links from /home/postgres/.nix-profile/share/postgresql to /usr/lib/postgresql/share/postgresql

common-nix.vars.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
postgres-version = "15.6.1.24-nix-staged"
1+
postgres-version = "15.6.1.25-nix-staged"

0 commit comments

Comments
 (0)