{"action":"created","issue":{"url":"https://api.github.com/repos/oliver/ansible/issues/4","labels_url":"https://api.github.com/repos/oliver/ansible/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/oliver/ansible/issues/4/comments","events_url":"https://api.github.com/repos/oliver/ansible/issues/4/events","html_url":"https://github.com/oliver/ansible/pull/4","id":124299200,"number":4,"title":"gatemon git clone force=yes","user":{"login":"Timi7007","id":5683832,"avatar_url":"https://avatars.githubusercontent.com/u/5683832?v=3","gravatar_id":"","url":"https://api.github.com/users/Timi7007","html_url":"https://github.com/Timi7007","followers_url":"https://api.github.com/users/Timi7007/followers","following_url":"https://api.github.com/users/Timi7007/following{/other_user}","gists_url":"https://api.github.com/users/Timi7007/gists{/gist_id}","starred_url":"https://api.github.com/users/Timi7007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Timi7007/subscriptions","organizations_url":"https://api.github.com/users/Timi7007/orgs","repos_url":"https://api.github.com/users/Timi7007/repos","events_url":"https://api.github.com/users/Timi7007/events{/privacy}","received_events_url":"https://api.github.com/users/Timi7007/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-30T03:20:38Z","updated_at":"2015-12-30T06:22:09Z","closed_at":"2015-12-30T06:22:09Z","pull_request":{"url":"https://api.github.com/repos/oliver/ansible/pulls/4","html_url":"https://github.com/oliver/ansible/pull/4","diff_url":"https://github.com/oliver/ansible/pull/4.diff","patch_url":"https://github.com/oliver/ansible/pull/4.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/oliver/ansible/issues/comments/167944608","html_url":"https://github.com/oliver/ansible/pull/4#issuecomment-167944608","issue_url":"https://api.github.com/repos/oliver/ansible/issues/4","id":167944608,"user":{"login":"oliver","id":2344,"avatar_url":"https://avatars.githubusercontent.com/u/2344?v=3","gravatar_id":"","url":"https://api.github.com/users/oliver","html_url":"https://github.com/oliver","followers_url":"https://api.github.com/users/oliver/followers","following_url":"https://api.github.com/users/oliver/following{/other_user}","gists_url":"https://api.github.com/users/oliver/gists{/gist_id}","starred_url":"https://api.github.com/users/oliver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliver/subscriptions","organizations_url":"https://api.github.com/users/oliver/orgs","repos_url":"https://api.github.com/users/oliver/repos","events_url":"https://api.github.com/users/oliver/events{/privacy}","received_events_url":"https://api.github.com/users/oliver/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T06:22:09Z","updated_at":"2015-12-30T06:22:09Z","body":"Two things:\r\n\r\n- my oliver/ansible repo is mainly meant for working on the website role, and not so much for the gatemon role (which has been done by mortzu anyway, and not by me). So I probably won't pull any changes for the gatemon role until the website role has been merged in FreifunkBremen/ansible. If you want a quicker response, better make the pull request directly in the FreifunkBremen/ansible repo instead (not sure how to do this technically, though).\r\n\r\n- instead of just overwriting any local changes in the Git checkout, it might help to remove the \"Change ownership\" task in roles/gatemon/tasks/main.yaml, and add `sudo: true` and `sudo_user: \"{{ gatemon_user }}\"` to the \"Clone gatemon git repository\" task. This should at least avoid the \"Local modifications exist in repository\" error when Ansible is run a second time.\r\nSee \"Clone content repository\" task the roles/website/tasks/main.yaml for an example. Also add a dependency on sudo if you do this."}}