{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/11727","labels_url":"https://api.github.com/repos/ansible/ansible/issues/11727/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/11727/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/11727/events","html_url":"https://github.com/ansible/ansible/issues/11727","id":97160460,"number":11727,"title":"Yum does not use localinstall when specifying an rpm","user":{"login":"rothgar","id":371796,"avatar_url":"https://avatars.githubusercontent.com/u/371796?v=3","gravatar_id":"","url":"https://api.github.com/users/rothgar","html_url":"https://github.com/rothgar","followers_url":"https://api.github.com/users/rothgar/followers","following_url":"https://api.github.com/users/rothgar/following{/other_user}","gists_url":"https://api.github.com/users/rothgar/gists{/gist_id}","starred_url":"https://api.github.com/users/rothgar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rothgar/subscriptions","organizations_url":"https://api.github.com/users/rothgar/orgs","repos_url":"https://api.github.com/users/rothgar/repos","events_url":"https://api.github.com/users/rothgar/events{/privacy}","received_events_url":"https://api.github.com/users/rothgar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-24T22:30:45Z","updated_at":"2015-07-25T08:55:25Z","closed_at":null,"body":"Ansible Version: 1.9.2\r\n\r\nAnsible Configuration: no changes\r\n\r\nEnvironment: running from RedHat 7.1 to RedHat 7.1\r\n\r\nSummary:\r\nWhen specifying an rpm to install on a host that is not register I get an error.\r\n```\r\n- yum: name=http://server/package.rpm state=present\r\n```\r\ngives the error\r\n```\r\nsubscription-manager\\nThis system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.\\n\r\n```\r\nif the host is not registered with subscription-manager.\r\n\r\nSteps to reproduce:\r\nUn-register a system using `subscription-manager unregister` and optionally `subscription-manager clean` and then run the yum task above.\r\n\r\nExpected results:\r\nwhen specifying an rpm package to yum the yum localinstall command should be used which does dependency checking but no registration verification.\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/124822726","html_url":"https://github.com/ansible/ansible/issues/11727#issuecomment-124822726","issue_url":"https://api.github.com/repos/ansible/ansible/issues/11727","id":124822726,"user":{"login":"mscherer","id":230335,"avatar_url":"https://avatars.githubusercontent.com/u/230335?v=3","gravatar_id":"","url":"https://api.github.com/users/mscherer","html_url":"https://github.com/mscherer","followers_url":"https://api.github.com/users/mscherer/followers","following_url":"https://api.github.com/users/mscherer/following{/other_user}","gists_url":"https://api.github.com/users/mscherer/gists{/gist_id}","starred_url":"https://api.github.com/users/mscherer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscherer/subscriptions","organizations_url":"https://api.github.com/users/mscherer/orgs","repos_url":"https://api.github.com/users/mscherer/repos","events_url":"https://api.github.com/users/mscherer/events{/privacy}","received_events_url":"https://api.github.com/users/mscherer/received_events","type":"User","site_admin":false},"created_at":"2015-07-25T08:55:25Z","updated_at":"2015-07-25T08:55:25Z","body":"Also, this should have been filled on another git repository ( https://github.com/ansible/ansible-modules-core ), here is the PR I propose as a fix ( for now, just for discussion )\r\n\r\nhttps://github.com/ansible/ansible-modules-core/pull/1803"}}