ansible_role_antigen icon indicating copy to clipboard operation
ansible_role_antigen copied to clipboard

Error on last step when running ansible playbook.

Open nagarutu opened this issue 3 years ago • 1 comments

TASK [gantsign.antigen : create install directory] ********************************************************************************************************************************* fatal: [esxi-ansible]: FAILED! => {"msg": "Failed to set permissions on the temporary files Ansible needs to create when becoming an unprivileged user (rc: 1, err: chown: invalid user: ‘example’\n}). For information on working around this, see https://docs.ansible.com/ansible/become.html#becoming-an-unprivileged-user"}

This is happening on the create install directory step and I cant for my life figure out why. It looks to me like I have proper access to the tmp folder drwxrwxrwt 5 root root 4096 Apr 16 00:59 tmp

any help appreciated.

nagarutu avatar Apr 15 '21 23:04 nagarutu

I have the exact same issue. So if anyone figure this out it would be great. FYI I have sudo and acl properly installed on the machine (which is controller and target at the same time)

Stanislasss avatar Oct 12 '21 07:10 Stanislasss