Skip to content

Commit b6c40f4

Browse files
committed
feat: make sure postgres user not part of "users" group
1 parent 8d21818 commit b6c40f4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ansible-nix/tasks/setup-postgres.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@
3232
shell: /bin/bash # Set shell if needed, default is /bin/bash
3333
password: ''
3434

35+
- name: Remove postgres user from users group
36+
become: yes
37+
command: gpasswd -d postgres users
38+
39+
3540
- name: Create relevant directories
3641
file:
3742
path: '{{ item }}'

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

0 commit comments

Comments
 (0)