{"action":"opened","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/4260","repository_url":"https://api.github.com/repos/ansible/ansible-modules-core","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/4260/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/4260/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/4260/events","html_url":"https://github.com/ansible/ansible-modules-core/issues/4260","id":167806747,"number":4260,"title":"ansible_os_name missing from linux","user":{"login":"AseemKumar","id":19464671,"avatar_url":"https://avatars.githubusercontent.com/u/19464671?v=3","gravatar_id":"","url":"https://api.github.com/users/AseemKumar","html_url":"https://github.com/AseemKumar","followers_url":"https://api.github.com/users/AseemKumar/followers","following_url":"https://api.github.com/users/AseemKumar/following{/other_user}","gists_url":"https://api.github.com/users/AseemKumar/gists{/gist_id}","starred_url":"https://api.github.com/users/AseemKumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AseemKumar/subscriptions","organizations_url":"https://api.github.com/users/AseemKumar/orgs","repos_url":"https://api.github.com/users/AseemKumar/repos","events_url":"https://api.github.com/users/AseemKumar/events{/privacy}","received_events_url":"https://api.github.com/users/AseemKumar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-27T09:10:52Z","updated_at":"2016-07-27T09:10:52Z","closed_at":null,"body":"<!--- Verify first that your issue/request is not already reported in GitHub -->\r\n\r\n##### ISSUE TYPE\r\n - Feature Idea\r\n\r\n##### COMPONENT NAME\r\n<!--- Name of the plugin/module/task -->\r\n\r\nsetup\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste verbatim output from “ansible --version” between quotes below -->\r\n```\r\nansible 2.1.0.0\r\n```\r\n\r\n##### CONFIGURATION\r\n\r\ndefault config.\r\n\r\n\r\n##### OS / ENVIRONMENT\r\n\r\nansible is running on Ubuntu, managing windows 2008 + and Oracle linux systems.\r\n\r\n\r\n##### SUMMARY\r\nComparing the facts returned by setup module, as I am trying to add the info to a DB and finding that a lot of fact names are not common.\r\nQuerying a windows box - \"ansible_os_name\": \"Microsoft Windows Server 2008 R2 Standard\"\r\nThis does not show up when a linux box is queried.\r\n\r\n##### STEPS TO REPRODUCE\r\nRun the setup module against a windows and linux box.\r\n\r\n<!--- Paste example playbooks or commands between quotes below -->\r\n```\r\nansible host -i hosts.file -m setup\r\n```\r\n\r\n<!--- You can also paste gist.github.com links for larger files -->\r\n\r\n##### EXPECTED RESULTS\r\nFor a linux box, ansible_os_name can return full name like Trusty or Red Hat Enterprise Linux Server release 6.3 (Santiago)\r\n\r\non Ubuntu the codename from lsb_release -a can be used and on Redhat cat /etc/redhat-release\r\n\r\n##### ACTUAL RESULTS\r\nOn linux box the fact did not show up.\r\n"}}
{"actor":{"display_login":"AseemKumar"}}