fatal: []: FAILED! => {"changed": false, "failed": true, "msg": "Could not find or access '/tmp/filename'"}

fatal: []: FAILED! => {"changed": false, "failed": true, "msg": "Could not find or access '/tmp/filename'"}

This can happen when copying files when using Ansible, I got this error the other day and you know the file is there and you have the correct permissions.

Luckily this is a simple fix, all you need to do after the copy is add 

remote_src: yes

Then from there your copy will work as it should, not sure why you need this now.

I am always interested in feedback so please feel free to add any comments, or you can mail me  here.  If you would like to submit a quick tip  with full credit and links back to your site then also feel free to contact me.

Related Posts Plugin for WordPress, Blogger...
Identify and Delete all lines starting with # in Notepad++

Identify and Delete all lines starting with # in Notepad++

Can't write to /tmp

Can't write to /tmp