{"action":"created","issue":{"url":"https://api.github.com/repos/mtchavez/ansible-consul-template/issues/1","labels_url":"https://api.github.com/repos/mtchavez/ansible-consul-template/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/mtchavez/ansible-consul-template/issues/1/comments","events_url":"https://api.github.com/repos/mtchavez/ansible-consul-template/issues/1/events","html_url":"https://github.com/mtchavez/ansible-consul-template/pull/1","id":93113373,"number":1,"title":"A little more idempotence","user":{"login":"migibert","id":488493,"avatar_url":"https://avatars.githubusercontent.com/u/488493?v=3","gravatar_id":"","url":"https://api.github.com/users/migibert","html_url":"https://github.com/migibert","followers_url":"https://api.github.com/users/migibert/followers","following_url":"https://api.github.com/users/migibert/following{/other_user}","gists_url":"https://api.github.com/users/migibert/gists{/gist_id}","starred_url":"https://api.github.com/users/migibert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/migibert/subscriptions","organizations_url":"https://api.github.com/users/migibert/orgs","repos_url":"https://api.github.com/users/migibert/repos","events_url":"https://api.github.com/users/migibert/events{/privacy}","received_events_url":"https://api.github.com/users/migibert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-05T13:51:28Z","updated_at":"2015-07-06T15:28:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mtchavez/ansible-consul-template/pulls/1","html_url":"https://github.com/mtchavez/ansible-consul-template/pull/1","diff_url":"https://github.com/mtchavez/ansible-consul-template/pull/1.diff","patch_url":"https://github.com/mtchavez/ansible-consul-template/pull/1.patch"},"body":"Minor changes ensuring role idempotence:\r\n- Avoid changed or failed flags when task just checks application version\r\n- Let the installation script fail when an error occurs to avoid unclear later failures"},"comment":{"url":"https://api.github.com/repos/mtchavez/ansible-consul-template/issues/comments/118891372","html_url":"https://github.com/mtchavez/ansible-consul-template/pull/1#issuecomment-118891372","issue_url":"https://api.github.com/repos/mtchavez/ansible-consul-template/issues/1","id":118891372,"user":{"login":"migibert","id":488493,"avatar_url":"https://avatars.githubusercontent.com/u/488493?v=3","gravatar_id":"","url":"https://api.github.com/users/migibert","html_url":"https://github.com/migibert","followers_url":"https://api.github.com/users/migibert/followers","following_url":"https://api.github.com/users/migibert/following{/other_user}","gists_url":"https://api.github.com/users/migibert/gists{/gist_id}","starred_url":"https://api.github.com/users/migibert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/migibert/subscriptions","organizations_url":"https://api.github.com/users/migibert/orgs","repos_url":"https://api.github.com/users/migibert/repos","events_url":"https://api.github.com/users/migibert/events{/privacy}","received_events_url":"https://api.github.com/users/migibert/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T15:28:54Z","updated_at":"2015-07-06T15:28:54Z","body":"Is the build still failing ? From my window I can see that all checks have passed since I amend the last commit to fix the problem and Travis is green (commit 5bc71eb).\r\n\r\nI added the grep to check that the second execution of the playbook do not trigger changed or failed events. If this is the case, then the role is not idempotent."}}