Skip to content

Commit

Permalink
PMM-7 try postgres user
Browse files Browse the repository at this point in the history
  • Loading branch information
ademidoff committed Dec 5, 2023
1 parent 8251105 commit bcd3ff1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions build/ansible/roles/pmm-images/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
non_unique: true
loop:
- { name: pmm, uid: 1000, comment: "PMM Server", shell: "/bin/false", home: "/home/pmm", group: pmm, }
- { name: postgres, uid: 1001, comment: "Postgresql", shell: "/sbin/nologin", home: "/dev/null", group: pmm, }
- { name: nginx, uid: 999, comment: "nginx user", shell: "/sbin/nologin", home: "/var/cache/nginx", group: nginx, }
- { name: clickhouse, uid: 997, comment: "Clickhouse server", shell: "/sbin/nologin", home: "/var/lib/clickhouse", group: clickhouse, }
when: ansible_virtualization_type == "docker"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
become_method: su
ignore_errors: True

- name: Check /srv/postgres14 ownership
- name: Print postgres14 logs
shell: cat /srv/logs/postgresql14.log

- name: Start Postgres database without supervisor
Expand Down

0 comments on commit bcd3ff1

Please sign in to comment.