Failed to set permissions on the temporary files Ansible needs to create when becoming an unprivileged user
<<Back to Ansible Main Page
Failed to set permissions on the temporary files Ansible needs to create when becoming an unprivileged user
TASK [ora_gi_si_install : Configure Listener] ************************************************************************************************************************************************************************************************fatal: [192.9.1.6]: 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: ‘/u01/oragrid/12.2.0.1/grid’\n}). For information on working around this, see https://docs.ansible.com/ansible/become.html#becoming-an-unprivileged-user"}
to retry, use: --limit @/home/opc/ansible/playbooks/si_gi_install.retry
PLAY RECAP ***********************************************************************************************************************************************************************************************************************************
192.9.1.6 : ok=1 changed=0 unreachable=0 failed=1
Investigation
After checking carefully I found that I was using a non existing user to configure the listener.
Solution:
Check if you are using valid privileges OS user to perform the task.
Correct the user in main.yml
If using user defined as variable, check and correct the username in variable
Comments
Post a Comment