geerlingguy/ansible-role-postgresql

Ensure PostgreSQL users are present [Failed]

libert-xyz opened this issue · 6 comments

OS: Ubuntu 20.04
Ansible version: 2.13.3

Getting the following error

msg": "Failed to set permissions on the temporary files Ansible needs to create when becoming an unprivileged user (rc: 1, err: chmod: invalid mode: 'A+user:postgres:rx:allow'\nTry 'chmod --help' for more information.\n}). For information on working around this, see https://docs.ansible.com/ansible-core/2.13/user_guide/become.html#risks-of-becoming-an-unprivileged-user"}

Installing acl fixed the issue

- name: Ensure PostgreSQL packages are installed.
  apt:
    name: acl
    state: present
stale commented

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

I got this error with molecule converge using the podman driver, but not with the docker driver. I did not get it when just running a playbook manually.

This was on an Ubuntu managed node.

stale commented

This issue is no longer marked for closure.

Installing ACL did not make a difference for me.

stale commented

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.