{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/338","labels_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/338/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/338/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/338/events","html_url":"https://github.com/ansible/ansible-modules-extras/issues/338","id":64243399,"number":338,"title":"patch module does not support local files","user":{"login":"rbu","id":65913,"avatar_url":"https://avatars.githubusercontent.com/u/65913?v=3","gravatar_id":"","url":"https://api.github.com/users/rbu","html_url":"https://github.com/rbu","followers_url":"https://api.github.com/users/rbu/followers","following_url":"https://api.github.com/users/rbu/following{/other_user}","gists_url":"https://api.github.com/users/rbu/gists{/gist_id}","starred_url":"https://api.github.com/users/rbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbu/subscriptions","organizations_url":"https://api.github.com/users/rbu/orgs","repos_url":"https://api.github.com/users/rbu/repos","events_url":"https://api.github.com/users/rbu/events{/privacy}","received_events_url":"https://api.github.com/users/rbu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels/bug_report","name":"bug_report","color":"fbca04"},{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels/P3","name":"P3","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-25T11:06:26Z","updated_at":"2015-05-01T19:22:30Z","closed_at":"2015-04-01T03:54:53Z","body":"Given the following task:\r\n```\r\n- name: Apply patches\r\n  patch: >\r\n    basedir=\"/home/user/virtualenv/lib64/python2.7/site-packages/\"\r\n    src=\"patches/some.patch\"\r\n    remote_src=False\r\n```\r\n\r\nplus an accompanying file in ```files/patches/some.patch``` in the same role, I get:\r\n\r\n```\r\nfailed: [remotehost] => {\"failed\": true}\r\nmsg: src patches/some.patch doesn't exist or not readable\r\n```\r\n\r\n\r\nI ran Ansible through an strace and found it does not even attempt to stat the local file, so this does not look like a typo/configuration error to me."},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/comments/98211271","html_url":"https://github.com/ansible/ansible-modules-extras/issues/338#issuecomment-98211271","issue_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/338","id":98211271,"user":{"login":"vicendominguez","id":3717920,"avatar_url":"https://avatars.githubusercontent.com/u/3717920?v=3","gravatar_id":"","url":"https://api.github.com/users/vicendominguez","html_url":"https://github.com/vicendominguez","followers_url":"https://api.github.com/users/vicendominguez/followers","following_url":"https://api.github.com/users/vicendominguez/following{/other_user}","gists_url":"https://api.github.com/users/vicendominguez/gists{/gist_id}","starred_url":"https://api.github.com/users/vicendominguez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vicendominguez/subscriptions","organizations_url":"https://api.github.com/users/vicendominguez/orgs","repos_url":"https://api.github.com/users/vicendominguez/repos","events_url":"https://api.github.com/users/vicendominguez/events{/privacy}","received_events_url":"https://api.github.com/users/vicendominguez/received_events","type":"User","site_admin":false},"created_at":"2015-05-01T19:22:30Z","updated_at":"2015-05-01T19:22:30Z","body":"Hey guys! What version will it have this merge? I think that I am suffering this issue in ansible 1.9.0.1. is it possible?"}}