gantsign / ansible_role_antigen

Ansible role for installing the Antigen and using it to configure Zsh
https://galaxy.ansible.com/gantsign/antigen
MIT License
27 stars 16 forks source link

Error on last step when running ansible playbook. #45

Open nagarutu opened 3 years ago

nagarutu commented 3 years ago

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.

Stanislasss commented 3 years ago

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)