{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1627","repository_url":"https://api.github.com/repos/ansible/ansible-modules-extras","labels_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1627/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1627/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1627/events","html_url":"https://github.com/ansible/ansible-modules-extras/issues/1627","id":131747924,"number":1627,"title":"Ansible 2.0 zypper module type=patch state=present, always results in changed","user":{"login":"jasonmader","id":3665019,"avatar_url":"https://avatars.githubusercontent.com/u/3665019?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonmader","html_url":"https://github.com/jasonmader","followers_url":"https://api.github.com/users/jasonmader/followers","following_url":"https://api.github.com/users/jasonmader/following{/other_user}","gists_url":"https://api.github.com/users/jasonmader/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonmader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonmader/subscriptions","organizations_url":"https://api.github.com/users/jasonmader/orgs","repos_url":"https://api.github.com/users/jasonmader/repos","events_url":"https://api.github.com/users/jasonmader/events{/privacy}","received_events_url":"https://api.github.com/users/jasonmader/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels/bug_report","name":"bug_report","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-05T20:28:28Z","updated_at":"2016-03-11T19:49:02Z","closed_at":null,"body":"`- zypper: type=patch name=openSUSE-2016-128 state=present \r\n`\r\n\r\nresult is always,\r\n```\r\nTASK [leap : zypper] ***********************************************************\r\nchanged: [10.192.165.194] => {\"changed\": true, \"name\": [\"openSUSE-2016-128\"], \"rc\": 0, \"state\": \"present\"}\r\n```"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/comments/195519678","html_url":"https://github.com/ansible/ansible-modules-extras/issues/1627#issuecomment-195519678","issue_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1627","id":195519678,"user":{"login":"jasonmader","id":3665019,"avatar_url":"https://avatars.githubusercontent.com/u/3665019?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonmader","html_url":"https://github.com/jasonmader","followers_url":"https://api.github.com/users/jasonmader/followers","following_url":"https://api.github.com/users/jasonmader/following{/other_user}","gists_url":"https://api.github.com/users/jasonmader/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonmader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonmader/subscriptions","organizations_url":"https://api.github.com/users/jasonmader/orgs","repos_url":"https://api.github.com/users/jasonmader/repos","events_url":"https://api.github.com/users/jasonmader/events{/privacy}","received_events_url":"https://api.github.com/users/jasonmader/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T19:49:02Z","updated_at":"2016-03-11T19:49:02Z","body":"```\r\n# /usr/bin/zypper --non-interactive in patch:openSUSE-2016-128\r\nLoading repository data...\r\nReading installed packages...\r\n'patch:openSUSE-2016-128' is already installed.\r\nResolving package dependencies...\r\n\r\nNothing to do.\r\n# echo $?\r\n0\r\n```\r\n```\r\n        if rc == 0:\r\n            changed=True\r\n        else:\r\n            changed=False\r\n```\r\n"}}