{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/4823","repository_url":"https://api.github.com/repos/ansible/ansible-modules-core","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/4823/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/4823/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/4823/events","html_url":"https://github.com/ansible/ansible-modules-core/pull/4823","id":176769481,"number":4823,"title":"win_file: fix error when creating an existing dir","user":{"login":"ilpianista","id":529436,"avatar_url":"https://avatars.githubusercontent.com/u/529436?v=3","gravatar_id":"","url":"https://api.github.com/users/ilpianista","html_url":"https://github.com/ilpianista","followers_url":"https://api.github.com/users/ilpianista/followers","following_url":"https://api.github.com/users/ilpianista/following{/other_user}","gists_url":"https://api.github.com/users/ilpianista/gists{/gist_id}","starred_url":"https://api.github.com/users/ilpianista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilpianista/subscriptions","organizations_url":"https://api.github.com/users/ilpianista/orgs","repos_url":"https://api.github.com/users/ilpianista/repos","events_url":"https://api.github.com/users/ilpianista/events{/privacy}","received_events_url":"https://api.github.com/users/ilpianista/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/bugfix_pull_request","name":"bugfix_pull_request","color":"ded270"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/community_review","name":"community_review","color":"fad8c7"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/windows","name":"windows","color":"777777"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-13T22:43:00Z","updated_at":"2016-10-24T08:55:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/4823","html_url":"https://github.com/ansible/ansible-modules-core/pull/4823","diff_url":"https://github.com/ansible/ansible-modules-core/pull/4823.diff","patch_url":"https://github.com/ansible/ansible-modules-core/pull/4823.patch"},"body":"##### ISSUE TYPE\r\n - Bugfix Pull Request\r\n\r\n##### COMPONENT NAME\r\nwin_file\r\n\r\n##### ANSIBLE VERSION\r\n```\r\nansible 2.1.1.0\r\n  config file = /etc/ansible/ansible.cfg\r\n  configured module search path = Default w/o overrides\r\n```\r\n\r\n##### SUMMARY\r\nFix error when creating an existing dir.\r\n\r\nIf something else created the dir New-Item will throw an exception and the task will fail. Check the existing file and as long as it's a dir, we don't need to error out."},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/255684404","html_url":"https://github.com/ansible/ansible-modules-core/pull/4823#issuecomment-255684404","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/4823","id":255684404,"user":{"login":"ilpianista","id":529436,"avatar_url":"https://avatars.githubusercontent.com/u/529436?v=3","gravatar_id":"","url":"https://api.github.com/users/ilpianista","html_url":"https://github.com/ilpianista","followers_url":"https://api.github.com/users/ilpianista/followers","following_url":"https://api.github.com/users/ilpianista/following{/other_user}","gists_url":"https://api.github.com/users/ilpianista/gists{/gist_id}","starred_url":"https://api.github.com/users/ilpianista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilpianista/subscriptions","organizations_url":"https://api.github.com/users/ilpianista/orgs","repos_url":"https://api.github.com/users/ilpianista/repos","events_url":"https://api.github.com/users/ilpianista/events{/privacy}","received_events_url":"https://api.github.com/users/ilpianista/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T08:55:42Z","updated_at":"2016-10-24T08:55:42Z","body":"Up!"}}
{"actor":{"display_login":"ilpianista"}}