{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/14105","labels_url":"https://api.github.com/repos/ansible/ansible/issues/14105/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/14105/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/14105/events","html_url":"https://github.com/ansible/ansible/pull/14105","id":128522053,"number":14105,"title":"Handle the key 'custom' in the 'diff' result from modules","user":{"login":"towolf","id":345210,"avatar_url":"https://avatars.githubusercontent.com/u/345210?v=3","gravatar_id":"","url":"https://api.github.com/users/towolf","html_url":"https://github.com/towolf","followers_url":"https://api.github.com/users/towolf/followers","following_url":"https://api.github.com/users/towolf/following{/other_user}","gists_url":"https://api.github.com/users/towolf/gists{/gist_id}","starred_url":"https://api.github.com/users/towolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/towolf/subscriptions","organizations_url":"https://api.github.com/users/towolf/orgs","repos_url":"https://api.github.com/users/towolf/repos","events_url":"https://api.github.com/users/towolf/events{/privacy}","received_events_url":"https://api.github.com/users/towolf/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible/labels/feature_pull_request","name":"feature_pull_request","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ansible/ansible/milestones/6","html_url":"https://github.com/ansible/ansible/milestones/2.1.0","labels_url":"https://api.github.com/repos/ansible/ansible/milestones/6/labels","id":995714,"number":6,"title":"2.1.0","description":"","creator":{"login":"abadger","id":209242,"avatar_url":"https://avatars.githubusercontent.com/u/209242?v=3","gravatar_id":"","url":"https://api.github.com/users/abadger","html_url":"https://github.com/abadger","followers_url":"https://api.github.com/users/abadger/followers","following_url":"https://api.github.com/users/abadger/following{/other_user}","gists_url":"https://api.github.com/users/abadger/gists{/gist_id}","starred_url":"https://api.github.com/users/abadger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abadger/subscriptions","organizations_url":"https://api.github.com/users/abadger/orgs","repos_url":"https://api.github.com/users/abadger/repos","events_url":"https://api.github.com/users/abadger/events{/privacy}","received_events_url":"https://api.github.com/users/abadger/received_events","type":"User","site_admin":false},"open_issues":72,"closed_issues":32,"state":"open","created_at":"2015-02-25T19:26:53Z","updated_at":"2016-01-25T17:06:01Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2016-01-25T12:02:19Z","updated_at":"2016-01-25T19:14:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/14105","html_url":"https://github.com/ansible/ansible/pull/14105","diff_url":"https://github.com/ansible/ansible/pull/14105.diff","patch_url":"https://github.com/ansible/ansible/pull/14105.patch"},"body":"So far, when a 'diff' dict is returned with module results, it is\r\nchecked for 'before' and 'after' texts, which are processed in\r\n_get_diff() by python difflib.  This generates the changes to display\r\nwhen CLI users specify --diff.\r\n\r\nHowever, some modules will generate changes that cannot easily be\r\nexpressed in a conventional diff. One example is the output of the\r\nsynchronize module, which presents changed files in a common log format\r\nas in `rsync --itemize-changes`.\r\n\r\nAdd a check for a diff['custom'] key, which can contain custom diff text\r\nfrom modules."},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/174625849","html_url":"https://github.com/ansible/ansible/pull/14105#issuecomment-174625849","issue_url":"https://api.github.com/repos/ansible/ansible/issues/14105","id":174625849,"user":{"login":"chrrrles","id":2159892,"avatar_url":"https://avatars.githubusercontent.com/u/2159892?v=3","gravatar_id":"","url":"https://api.github.com/users/chrrrles","html_url":"https://github.com/chrrrles","followers_url":"https://api.github.com/users/chrrrles/followers","following_url":"https://api.github.com/users/chrrrles/following{/other_user}","gists_url":"https://api.github.com/users/chrrrles/gists{/gist_id}","starred_url":"https://api.github.com/users/chrrrles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrrrles/subscriptions","organizations_url":"https://api.github.com/users/chrrrles/orgs","repos_url":"https://api.github.com/users/chrrrles/repos","events_url":"https://api.github.com/users/chrrrles/events{/privacy}","received_events_url":"https://api.github.com/users/chrrrles/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T19:14:52Z","updated_at":"2016-01-25T19:14:52Z","body":"`prepared`"}}