{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/593","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/593/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/593/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/593/events","html_url":"https://github.com/ansible/ansible-modules-core/issues/593","id":53338222,"number":593,"title":"systemctl not detected by service module on CentOS 7","user":{"login":"kannibalox","id":7646076,"avatar_url":"https://avatars.githubusercontent.com/u/7646076?v=3","gravatar_id":"","url":"https://api.github.com/users/kannibalox","html_url":"https://github.com/kannibalox","followers_url":"https://api.github.com/users/kannibalox/followers","following_url":"https://api.github.com/users/kannibalox/following{/other_user}","gists_url":"https://api.github.com/users/kannibalox/gists{/gist_id}","starred_url":"https://api.github.com/users/kannibalox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kannibalox/subscriptions","organizations_url":"https://api.github.com/users/kannibalox/orgs","repos_url":"https://api.github.com/users/kannibalox/repos","events_url":"https://api.github.com/users/kannibalox/events{/privacy}","received_events_url":"https://api.github.com/users/kannibalox/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/bug_report","name":"bug_report","color":"fbca04"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/needs_info","name":"needs_info","color":"eb6420"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/P3","name":"P3","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-04T14:47:18Z","updated_at":"2015-01-05T19:29:23Z","closed_at":null,"body":"##### Issue Type:\r\n\r\nBug Report\r\n\r\n##### Ansible Version:\r\n\r\nansible 1.9 (devel 1698b17b14) last updated 2015/01/03 14:05:16 (GMT -400)\r\n  lib/ansible/modules/core: (detached HEAD f9574cc318) last updated 2015/01/03 14:05:19 (GMT -400)\r\n  lib/ansible/modules/extras: (detached HEAD 317654dba5) last updated 2015/01/03 14:05:22 (GMT -400)\r\n  v2/ansible/modules/core: (detached HEAD cb69744bce) last updated 2015/01/03 14:05:25 (GMT -400)\r\n  v2/ansible/modules/extras: (detached HEAD 8a4f07eecd) last updated 2015/01/03 14:05:28 (GMT -400)\r\n  configured module search path = None\r\n\r\n##### Environment:\r\n\r\nCentOS 6.6 running ansible -> CentOS 7 target host\r\n\r\n##### Summary:\r\n\r\nRunning the service module against a CentOS 7 host doesn't seem to pick up that systemctl exists, despite the fact that running systemctl manually via the command module works just fine.\r\n\r\n##### Steps To Reproduce:\r\n\r\n    ansible server -m service -a \"name=rsyslog state=started\" -s\r\n\r\n##### Expected Results:\r\n\r\n    server | success >> {\r\n        \"changed\": (false|true),\r\n        \"name\": \"rsyslog\",\r\n        \"state\": \"started\"\r\n    }\r\n\r\n##### Actual Results:\r\n\r\n    server | FAILED >> {\r\n        \"failed\": true,\r\n        \"msg\": \"no service or tool found for: rsyslog\"\r\n    }"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/68761884","html_url":"https://github.com/ansible/ansible-modules-core/issues/593#issuecomment-68761884","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/593","id":68761884,"user":{"login":"bcoca","id":836171,"avatar_url":"https://avatars.githubusercontent.com/u/836171?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoca","html_url":"https://github.com/bcoca","followers_url":"https://api.github.com/users/bcoca/followers","following_url":"https://api.github.com/users/bcoca/following{/other_user}","gists_url":"https://api.github.com/users/bcoca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoca/subscriptions","organizations_url":"https://api.github.com/users/bcoca/orgs","repos_url":"https://api.github.com/users/bcoca/repos","events_url":"https://api.github.com/users/bcoca/events{/privacy}","received_events_url":"https://api.github.com/users/bcoca/received_events","type":"User","site_admin":false},"created_at":"2015-01-05T19:29:23Z","updated_at":"2015-01-05T19:29:23Z","body":"I'm not familiar with proxmox, does it used a shared proc 1 or just the kernel?"}}