--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/74f2b870-1fbc-45f0-a8a4-b92b52fef3bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
It looks like you are trying to source that file rather than execute it, presumably in order to set environment variables. That probably won't work, as the environment variables will not survive the death of the shell you ran.Re the permissions issue: I'm not sure, but you may be attempting to execute "." (a directory) and that would get you "permission denied". Not sure how command works, so that might well be BS :-)Regards, K.
On Wed, Jun 27, 2018 at 1:28 AM, 'Kallu Srikanth' via Ansible Project <ansible...@googlegroups.com> wrote:
ansible playbook permission error when running the command ". oraenv"Here is the code:# setup new env- command: ". /usr/local/bin/oraenv"Here is the error:TASK [ansible-oracle-patching : command] ************************************************************************************************************************fatal: [vmcwy60158.prod.acxiom.net]: FAILED! => {"changed": false, "cmd": ". /usr/local/bin/oraenv", "msg": "[Errno 13] Permission denied", "rc": 13}But I can run other commands with elevated privilegescan anybody help please ?
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/74f2b870-1fbc-45f0-a8a4-b92b52fef3bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/1529e791-b9cd-496f-8be7-29ad4f1db067%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/1529e791-b9cd-496f-8be7-29ad4f1db067%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.