diff --git a/build/ansible/roles/pmm-images/tasks/main.yml b/build/ansible/roles/pmm-images/tasks/main.yml index 10673e278b..790ed8fcf5 100644 --- a/build/ansible/roles/pmm-images/tasks/main.yml +++ b/build/ansible/roles/pmm-images/tasks/main.yml @@ -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" diff --git a/update/ansible/playbook/tasks/roles/postgres/tasks/main.yml b/update/ansible/playbook/tasks/roles/postgres/tasks/main.yml index 731ae2e82d..e38f271d7a 100644 --- a/update/ansible/playbook/tasks/roles/postgres/tasks/main.yml +++ b/update/ansible/playbook/tasks/roles/postgres/tasks/main.yml @@ -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