Skip to content

Commit

Permalink
fix: user add command route
Browse files Browse the repository at this point in the history
  • Loading branch information
samrose committed May 15, 2024
1 parent ed0464f commit 7744315
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ansible-nix/tasks/setup-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
# the old method of installing from debian creates this group, but we must create it explicitly
# for the nix built version

# - name: create postgres group
# group:
# name: postgres
# state: present
- name: create postgres group
group:
name: postgres
state: present

# - name: create users
# user:
Expand All @@ -33,11 +33,11 @@
# password: ''

- name: create postgres user
shell: useradd -m -r -s /bin/bash postgres
shell: useradd -m -r -s /bin/bash -d /home/postgres postgres -G postgres,ssl-cert
args:
executable: /bin/bash
become: yes

- name: Create relevant directories
file:
path: '{{ item }}'
Expand Down

0 comments on commit 7744315

Please sign in to comment.