{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1152","labels_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1152/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1152/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1152/events","html_url":"https://github.com/ansible/ansible-modules-extras/pull/1152","id":113132568,"number":1152,"title":"Add explicit diff of packages installed on system after puppet runs","user":{"login":"Jmainguy","id":1372228,"avatar_url":"https://avatars.githubusercontent.com/u/1372228?v=3","gravatar_id":"","url":"https://api.github.com/users/Jmainguy","html_url":"https://github.com/Jmainguy","followers_url":"https://api.github.com/users/Jmainguy/followers","following_url":"https://api.github.com/users/Jmainguy/following{/other_user}","gists_url":"https://api.github.com/users/Jmainguy/gists{/gist_id}","starred_url":"https://api.github.com/users/Jmainguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jmainguy/subscriptions","organizations_url":"https://api.github.com/users/Jmainguy/orgs","repos_url":"https://api.github.com/users/Jmainguy/repos","events_url":"https://api.github.com/users/Jmainguy/events{/privacy}","received_events_url":"https://api.github.com/users/Jmainguy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-24T03:25:34Z","updated_at":"2015-10-24T03:27:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/1152","html_url":"https://github.com/ansible/ansible-modules-extras/pull/1152","diff_url":"https://github.com/ansible/ansible-modules-extras/pull/1152.diff","patch_url":"https://github.com/ansible/ansible-modules-extras/pull/1152.patch"},"body":"Even though puppet says when it removes or adds or updates a package, its a little hard to read. So my team at $work needed an explicit block that was impossible to miss, listing all package changes at the end of every puppet run."},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/comments/150748136","html_url":"https://github.com/ansible/ansible-modules-extras/pull/1152#issuecomment-150748136","issue_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1152","id":150748136,"user":{"login":"Jmainguy","id":1372228,"avatar_url":"https://avatars.githubusercontent.com/u/1372228?v=3","gravatar_id":"","url":"https://api.github.com/users/Jmainguy","html_url":"https://github.com/Jmainguy","followers_url":"https://api.github.com/users/Jmainguy/followers","following_url":"https://api.github.com/users/Jmainguy/following{/other_user}","gists_url":"https://api.github.com/users/Jmainguy/gists{/gist_id}","starred_url":"https://api.github.com/users/Jmainguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jmainguy/subscriptions","organizations_url":"https://api.github.com/users/Jmainguy/orgs","repos_url":"https://api.github.com/users/Jmainguy/repos","events_url":"https://api.github.com/users/Jmainguy/events{/privacy}","received_events_url":"https://api.github.com/users/Jmainguy/received_events","type":"User","site_admin":false},"created_at":"2015-10-24T03:27:53Z","updated_at":"2015-10-24T03:27:53Z","body":"cc @emonty  Pretty cool eh? Output looks like\r\n\r\n```\r\nns1.vpsaddict.com | SUCCESS => {\r\n    \"_ansible_no_log\": false, \r\n    \"changed\": true, \r\n    \"rc\": 0, \r\n    \"stderr\": \"\", \r\n    \"stdout\": \"================================================================================\\nThis begins the Package delta\\n================================================================================\\n+nmap-6.47-3+b1.i386\\n================================================================================\\nThe Package delta is over.\\n================================================================================\\n\", \r\n    \"stdout_lines\": [\r\n        \"================================================================================\", \r\n        \"This begins the Package delta\", \r\n        \"================================================================================\", \r\n        \"+nmap-6.47-3+b1.i386\", \r\n        \"================================================================================\", \r\n        \"The Package delta is over.\", \r\n        \"================================================================================\"\r\n    ]\r\n}\r\n```\r\n\r\nRecommend not merging this in until https://github.com/ansible/ansible-modules-extras/pull/1149 is merged as this is pretty useless without stdout."}}