You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm connecting to the host via a simple user, which can become without a password. I'm failing to understand why it doesn't work.
Here is the failure:
FAILED! => {"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:deployer:rx:allow’\nTry 'chmod --help' for more information.\n}). For information on working around this, see https://docs.ansible.com/ansible-core/2.15/user_guide/become.html#risks-of-becoming-an-unprivileged-user"}
The text was updated successfully, but these errors were encountered:
After some testing I found, that even things like ansible.builtin.apt fail in case of using become: true in combination with any become_user, that is not root, so I guess its improper usage on my end. In any case it does work if leaving out any become configuration.
I'm using the role in a playbook like this:
I'm connecting to the host via a simple user, which can
become
without a password. I'm failing to understand why it doesn't work.Here is the failure:
The text was updated successfully, but these errors were encountered: