Skip to content

Commit 7fc4fb7

Browse files
committed
fix: makre sure bashrc exists
1 parent 02583d0 commit 7fc4fb7

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

ansible-nix/tasks/setup-postgres.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,12 @@
6767
create: yes
6868
become: yes
6969

70+
- name: Make sure .bashrc exists
71+
file:
72+
path: /var/lib/postgresql/.bashrc
73+
state: touch
74+
owner: postgres
75+
group: postgres
7076

7177
- name: Add LANG items to .bashrc
7278
lineinfile:

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.72-nix-staged"
1+
postgres-version = "15.6.1.73-nix-staged"

0 commit comments

Comments
 (0)