{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/13981","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/13981/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/13981/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/13981/events","html_url":"https://github.com/ansible/ansible/issues/13981","id":127414530,"number":13981,"title":"atomic_move inside docker fails for /etc/hosts","user":{"login":"pgrange","id":378506,"avatar_url":"https://avatars.githubusercontent.com/u/378506?v=3","gravatar_id":"","url":"https://api.github.com/users/pgrange","html_url":"https://github.com/pgrange","followers_url":"https://api.github.com/users/pgrange/followers","following_url":"https://api.github.com/users/pgrange/following{/other_user}","gists_url":"https://api.github.com/users/pgrange/gists{/gist_id}","starred_url":"https://api.github.com/users/pgrange/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgrange/subscriptions","organizations_url":"https://api.github.com/users/pgrange/orgs","repos_url":"https://api.github.com/users/pgrange/repos","events_url":"https://api.github.com/users/pgrange/events{/privacy}","received_events_url":"https://api.github.com/users/pgrange/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.2","name":"affects_2.2","color":"5319e7"},{"url":"https://api.github.com/repos/ansible/ansible/labels/bug_report","name":"bug_report","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"bcoca","id":836171,"avatar_url":"https://avatars.githubusercontent.com/u/836171?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoca","html_url":"https://github.com/bcoca","followers_url":"https://api.github.com/users/bcoca/followers","following_url":"https://api.github.com/users/bcoca/following{/other_user}","gists_url":"https://api.github.com/users/bcoca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoca/subscriptions","organizations_url":"https://api.github.com/users/bcoca/orgs","repos_url":"https://api.github.com/users/bcoca/repos","events_url":"https://api.github.com/users/bcoca/events{/privacy}","received_events_url":"https://api.github.com/users/bcoca/received_events","type":"User","site_admin":false},"assignees":[{"login":"bcoca","id":836171,"avatar_url":"https://avatars.githubusercontent.com/u/836171?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoca","html_url":"https://github.com/bcoca","followers_url":"https://api.github.com/users/bcoca/followers","following_url":"https://api.github.com/users/bcoca/following{/other_user}","gists_url":"https://api.github.com/users/bcoca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoca/subscriptions","organizations_url":"https://api.github.com/users/bcoca/orgs","repos_url":"https://api.github.com/users/bcoca/repos","events_url":"https://api.github.com/users/bcoca/events{/privacy}","received_events_url":"https://api.github.com/users/bcoca/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/ansible/ansible/milestones/8","html_url":"https://github.com/ansible/ansible/milestones/2.2.0","labels_url":"https://api.github.com/repos/ansible/ansible/milestones/8/labels","id":1702615,"number":8,"title":"2.2.0","description":"","creator":{"login":"sivel","id":39340,"avatar_url":"https://avatars.githubusercontent.com/u/39340?v=3","gravatar_id":"","url":"https://api.github.com/users/sivel","html_url":"https://github.com/sivel","followers_url":"https://api.github.com/users/sivel/followers","following_url":"https://api.github.com/users/sivel/following{/other_user}","gists_url":"https://api.github.com/users/sivel/gists{/gist_id}","starred_url":"https://api.github.com/users/sivel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sivel/subscriptions","organizations_url":"https://api.github.com/users/sivel/orgs","repos_url":"https://api.github.com/users/sivel/repos","events_url":"https://api.github.com/users/sivel/events{/privacy}","received_events_url":"https://api.github.com/users/sivel/received_events","type":"User","site_admin":false},"open_issues":176,"closed_issues":208,"state":"open","created_at":"2016-04-12T23:10:49Z","updated_at":"2016-09-14T14:29:28Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-01-19T10:26:17Z","updated_at":"2016-09-14T14:29:28Z","closed_at":"2016-09-14T14:29:28Z","body":"When running ansible inside a docker container, ansible will fail if we try to change some systems file, such as /etc/hosts.\r\n\r\nThis issue is related to this docker issue : https://github.com/docker/docker/issues/9295\r\n\r\nYou can reproduce with the following code : https://github.com/pgrange/ansible_docker_resource_busy\r\n\r\nI wrote an uggly, untested, patch just to validate an alternative that would consist of overwriting the content of the target file instead of renaming or copying. This patch is available here : https://github.com/pgrange/ansible/commit/844eb0bfea04473719e195fcad73a515516f1df6"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/247031451","html_url":"https://github.com/ansible/ansible/issues/13981#issuecomment-247031451","issue_url":"https://api.github.com/repos/ansible/ansible/issues/13981","id":247031451,"user":{"login":"bcoca","id":836171,"avatar_url":"https://avatars.githubusercontent.com/u/836171?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoca","html_url":"https://github.com/bcoca","followers_url":"https://api.github.com/users/bcoca/followers","following_url":"https://api.github.com/users/bcoca/following{/other_user}","gists_url":"https://api.github.com/users/bcoca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoca/subscriptions","organizations_url":"https://api.github.com/users/bcoca/orgs","repos_url":"https://api.github.com/users/bcoca/repos","events_url":"https://api.github.com/users/bcoca/events{/privacy}","received_events_url":"https://api.github.com/users/bcoca/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T14:29:27Z","updated_at":"2016-09-14T14:29:27Z","body":"closing this as `unsafe_writes` was added as an option to most 'file modules' for 2.2. We are still working out some kinks, but that is tracked in another ticket."}}
{"actor":{"display_login":"bcoca"}}