{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5508","repository_url":"https://api.github.com/repos/ansible/ansible-modules-core","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5508/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5508/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5508/events","html_url":"https://github.com/ansible/ansible-modules-core/issues/5508","id":187641148,"number":5508,"title":"Add support for upgrading packages to package module","user":{"login":"xalvarez","id":10058160,"avatar_url":"https://avatars.githubusercontent.com/u/10058160?v=3","gravatar_id":"","url":"https://api.github.com/users/xalvarez","html_url":"https://github.com/xalvarez","followers_url":"https://api.github.com/users/xalvarez/followers","following_url":"https://api.github.com/users/xalvarez/following{/other_user}","gists_url":"https://api.github.com/users/xalvarez/gists{/gist_id}","starred_url":"https://api.github.com/users/xalvarez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xalvarez/subscriptions","organizations_url":"https://api.github.com/users/xalvarez/orgs","repos_url":"https://api.github.com/users/xalvarez/repos","events_url":"https://api.github.com/users/xalvarez/events{/privacy}","received_events_url":"https://api.github.com/users/xalvarez/received_events","type":"User","site_admin":false},"labels":[{"id":437720344,"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/affects_2.1","name":"affects_2.1","color":"5319e7","default":false},{"id":132897261,"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/feature_idea","name":"feature_idea","color":"006b75","default":false},{"id":414073372,"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/waiting_on_maintainer","name":"waiting_on_maintainer","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-07T07:18:55Z","updated_at":"2016-11-07T13:51:56Z","closed_at":null,"body":"##### ISSUE TYPE\r\n - Feature Idea\r\n\r\n##### COMPONENT NAME\r\npackage\r\n\r\n##### ANSIBLE VERSION\r\n2.1.2.0\r\n\r\n##### OS / ENVIRONMENT\r\nN/A\r\n\r\n##### SUMMARY\r\nAs you know, yum can be used as follows to upgrade all installed packages:\r\n\r\n> yum: name=* state=latest\r\n\r\nThat doesn't work for apt for example. That module requires using an upgrade parameter.\r\n\r\nIf we try to apply the same logic to package module as in yum, we would write something like:\r\n\r\n> package: name=* state=latest\r\n\r\nHowever this will try to install all packages available in the repository.\r\n\r\nWhat I suggest is to add a parameter to package module that translates into an 'upgrade' for any of the packaging systems it supports."},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/258840399","html_url":"https://github.com/ansible/ansible-modules-core/issues/5508#issuecomment-258840399","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5508","id":258840399,"user":{"login":"ansibot","id":6585283,"avatar_url":"https://avatars.githubusercontent.com/u/6585283?v=3","gravatar_id":"","url":"https://api.github.com/users/ansibot","html_url":"https://github.com/ansibot","followers_url":"https://api.github.com/users/ansibot/followers","following_url":"https://api.github.com/users/ansibot/following{/other_user}","gists_url":"https://api.github.com/users/ansibot/gists{/gist_id}","starred_url":"https://api.github.com/users/ansibot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansibot/subscriptions","organizations_url":"https://api.github.com/users/ansibot/orgs","repos_url":"https://api.github.com/users/ansibot/repos","events_url":"https://api.github.com/users/ansibot/events{/privacy}","received_events_url":"https://api.github.com/users/ansibot/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T13:51:55Z","updated_at":"2016-11-07T13:51:55Z","body":"<!-- @xalvarez: Thanks for filing this feature idea! -->\n@ansible ping, this issue is waiting for your response.\n[click here for bot help](https://github.com/ansible/ansibullbot/blob/master/ISSUE_HELP.md)\n<!--- boilerplate: issue_bug_new --->"}}
{"actor":{"display_login":"ansibot"}}