{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/13876","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/13876/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/13876/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/13876/events","html_url":"https://github.com/ansible/ansible/issues/13876","id":126604565,"number":13876,"title":"Intermittent error \"failed to resolve remote temporary directory from\"","user":{"login":"chinatree","id":1692877,"avatar_url":"https://avatars.githubusercontent.com/u/1692877?v=3","gravatar_id":"","url":"https://api.github.com/users/chinatree","html_url":"https://github.com/chinatree","followers_url":"https://api.github.com/users/chinatree/followers","following_url":"https://api.github.com/users/chinatree/following{/other_user}","gists_url":"https://api.github.com/users/chinatree/gists{/gist_id}","starred_url":"https://api.github.com/users/chinatree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chinatree/subscriptions","organizations_url":"https://api.github.com/users/chinatree/orgs","repos_url":"https://api.github.com/users/chinatree/repos","events_url":"https://api.github.com/users/chinatree/events{/privacy}","received_events_url":"https://api.github.com/users/chinatree/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2016-01-14T08:29:59Z","updated_at":"2016-02-14T09:37:53Z","closed_at":"2016-02-08T15:38:48Z","body":"After I upgrade ansible 2.0.0.1 from 1.9.4, when performing a playlook always encounter intermittent fault \"failed to resolve remote temporary directory from\".\r\n```\r\n$ ansible-playbook playlooks/playlook-filters.yml\r\n\r\nPLAY ***************************************************************************\r\n\r\nTASK [command] *****************************************************************\r\nfatal: [YT_8_22]: FAILED! => {\"failed\": true, \"msg\": \"ERROR! failed to resolve remote temporary directory from ansible-tmp-1452759681.1-95441304852350: `( umask 22 && mkdir -p \\\"$( echo /tmp/.ansible/tmp/ansible-tmp-1452759681.1-95441304852350 )\\\" && echo \\\"$( echo /tmp/.ansible/tmp/ansible-tmp-1452759681.1-95441304852350 )\\\" )` returned empty string\"}\r\n...ignoring\r\n\r\nTASK [debug] *******************************************************************\r\nok: [YT_8_22] => {\r\n    \"msg\": \"it failed\"\r\n}\r\n\r\nPLAY RECAP *********************************************************************\r\nYT_8_22                    : ok=2    changed=0    unreachable=0    failed=0\r\n```\r\n\r\nThis is happening for one of the tasks randomly, following are those tasks:\r\n```\r\n---\r\n- hosts: YT_8_22\r\n  tasks:\r\n    - shell: /bin/true\r\n      register: result\r\n      ignore_errors: True\r\n\r\n    - debug: msg=\"it failed\"\r\n      when: result|failed\r\n```\r\n\r\nI try on 1.9.4, have not seen the phenomenon. Can anybody tell me how to do that ?\r\n\r\nI found another links to similar problems: https://groups.google.com/forum/#!searchin/ansible-project/Intermittent$20error%7Csort:relevance/ansible-project/FyK6au2O9KY/tWuf31P9AQAJ"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/183861634","html_url":"https://github.com/ansible/ansible/issues/13876#issuecomment-183861634","issue_url":"https://api.github.com/repos/ansible/ansible/issues/13876","id":183861634,"user":{"login":"khushil","id":26236,"avatar_url":"https://avatars.githubusercontent.com/u/26236?v=3","gravatar_id":"","url":"https://api.github.com/users/khushil","html_url":"https://github.com/khushil","followers_url":"https://api.github.com/users/khushil/followers","following_url":"https://api.github.com/users/khushil/following{/other_user}","gists_url":"https://api.github.com/users/khushil/gists{/gist_id}","starred_url":"https://api.github.com/users/khushil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khushil/subscriptions","organizations_url":"https://api.github.com/users/khushil/orgs","repos_url":"https://api.github.com/users/khushil/repos","events_url":"https://api.github.com/users/khushil/events{/privacy}","received_events_url":"https://api.github.com/users/khushil/received_events","type":"User","site_admin":false},"created_at":"2016-02-14T09:37:53Z","updated_at":"2016-02-14T09:37:53Z","body":"The fact this happens only once on each server is a clue I think."}}