{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5627","repository_url":"https://api.github.com/repos/ansible/ansible-modules-core","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5627/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5627/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5627/events","html_url":"https://github.com/ansible/ansible-modules-core/issues/5627","id":189602538,"number":5627,"title":"service task: unsupported parameter for module: runlevel against Ubutun 16 LTS","user":{"login":"bitonio","id":1281860,"avatar_url":"https://avatars.githubusercontent.com/u/1281860?v=3","gravatar_id":"","url":"https://api.github.com/users/bitonio","html_url":"https://github.com/bitonio","followers_url":"https://api.github.com/users/bitonio/followers","following_url":"https://api.github.com/users/bitonio/following{/other_user}","gists_url":"https://api.github.com/users/bitonio/gists{/gist_id}","starred_url":"https://api.github.com/users/bitonio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitonio/subscriptions","organizations_url":"https://api.github.com/users/bitonio/orgs","repos_url":"https://api.github.com/users/bitonio/repos","events_url":"https://api.github.com/users/bitonio/events{/privacy}","received_events_url":"https://api.github.com/users/bitonio/received_events","type":"User","site_admin":false},"labels":[{"id":437720380,"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/affects_2.2","name":"affects_2.2","color":"5319e7","default":false},{"id":132571937,"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/bug_report","name":"bug_report","color":"fbca04","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-16T06:15:31Z","updated_at":"2016-11-16T06:47:40Z","closed_at":null,"body":"<!--- Verify first that your issue/request is not already reported in GitHub -->\r\n\r\n##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest: -->\r\n - Bug Report\r\n\r\n##### COMPONENT NAME\r\n<!--- Name of the plugin/module/task -->\r\nservice\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste verbatim output from “ansible --version” between quotes below -->\r\n```\r\nansible 2.2.0.0\r\n```\r\n\r\n##### CONFIGURATION\r\n<!---\r\nMention any settings you have changed/added/removed in ansible.cfg\r\n(or using the ANSIBLE_* environment variables).\r\n-->\r\n\r\n##### OS / ENVIRONMENT\r\n<!---\r\nMention the OS you are running Ansible from, and the OS you are\r\nmanaging, or say “N/A” for anything that is not platform-specific.\r\n-->\r\nMacOS X 10.11.6 (15G1108)\r\n\r\n##### SUMMARY\r\n<!--- Explain the problem briefly -->\r\nWe using a simple task service with runlevel against a Ubuntu 16.04.1 LTS (using systemd), I got the following error message: \"unsupported parameter for module: runlevel\"\r\n\r\n##### STEPS TO REPRODUCE\r\n<!---\r\nFor bugs, show exactly how to reproduce the problem.\r\nFor new features, show how the feature would be used.\r\n-->\r\nThe task is like this:\r\n\r\n````service: name=my_service_name runlevel=99 enabled=yes state=started````\r\nand the sysV init script file exists on `/etc/init.d/my_service_name`\r\n\r\n<!--- You can also paste gist.github.com links for larger files -->\r\n\r\n##### EXPECTED RESULTS\r\n<!--- What did you expect to happen when running the steps above? -->\r\nA failure about usage of runlevel option. I know systemd module now exists but it was working just fine on Ansible 2.1.3.0 and I didn't read anything about deprecating this feature. \r\n\r\n##### ACTUAL RESULTS\r\n<!--- What actually happened? If possible run with extra verbosity (-vvvv) -->\r\n````\r\nfatal: [machine]: FAILED! => \r\n  {\"changed\": false, \"failed\": true,\r\n   \"msg\": \"unsupported parameter for module: runlevel\"}\r\n````\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/260867666","html_url":"https://github.com/ansible/ansible-modules-core/issues/5627#issuecomment-260867666","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5627","id":260867666,"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-16T06:47:40Z","updated_at":"2016-11-16T06:47:40Z","body":"<!-- @bitonio: Thanks for filing this bug report! -->\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"}}