What about doing the login as your service account?
Most likely your user is missing sudo permissions or your playbook does not use sudo settings.
As the error message states, svc-test-prod02 is not allowed to write in the /opt/refdata directory. If I have to guess, I would say its owned by root:root with default 0755 permission. Thus only sudo will work.
/mf
--
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/dc6b0622-39e6-477d-be7c-f2f4f985f4a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
myhost001~/.ansible/tmp$ /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /home/svc_acplus_prod02/.ansible/tmp/ansible-tmp-1441218726.44-141986608018617/file'
and see this output: