Skip to content

Commit

Permalink
feat: make sure postgres user not part of "users" group
Browse files Browse the repository at this point in the history
  • Loading branch information
samrose committed May 15, 2024
1 parent 8d21818 commit b6c40f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ansible-nix/tasks/setup-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
shell: /bin/bash # Set shell if needed, default is /bin/bash
password: ''

- name: Remove postgres user from users group
become: yes
command: gpasswd -d postgres users


- name: Create relevant directories
file:
path: '{{ item }}'
Expand Down
2 changes: 1 addition & 1 deletion common-nix.vars.pkr.hcl
Original file line number Diff line number Diff line change
@@ -1 +1 @@
postgres-version = "15.6.1.25-nix-staged"
postgres-version = "15.6.1.26-nix-staged"

0 comments on commit b6c40f4

Please sign in to comment.