{"action":"closed","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/812","labels_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/812/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/812/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/812/events","html_url":"https://github.com/ansible/ansible-modules-extras/issues/812","id":99160156,"number":812,"title":"expect is not a legal parameter in an Ansible task or handler","user":{"login":"serialdoom","id":6338625,"avatar_url":"https://avatars.githubusercontent.com/u/6338625?v=3","gravatar_id":"","url":"https://api.github.com/users/serialdoom","html_url":"https://github.com/serialdoom","followers_url":"https://api.github.com/users/serialdoom/followers","following_url":"https://api.github.com/users/serialdoom/following{/other_user}","gists_url":"https://api.github.com/users/serialdoom/gists{/gist_id}","starred_url":"https://api.github.com/users/serialdoom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serialdoom/subscriptions","organizations_url":"https://api.github.com/users/serialdoom/orgs","repos_url":"https://api.github.com/users/serialdoom/repos","events_url":"https://api.github.com/users/serialdoom/events{/privacy}","received_events_url":"https://api.github.com/users/serialdoom/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-05T09:19:00Z","updated_at":"2015-08-05T09:27:11Z","closed_at":"2015-08-05T09:27:11Z","body":"im following the [documentation](http://docs.ansible.com/ansible/expect_module.html) for expect and i have this task in my playbook\r\n```yaml\r\n  - expect: \r\n      command: passwd username    \r\n      responses:                   \r\n        (?i)password: \"password\"\r\n```\r\n\r\nwhen i try to run this, im getting an error back\r\n```\r\nERROR: expect is not a legal parameter in an Ansible task or handler\r\n```\r\n\r\nMy ansible version is\r\n```\r\nansible 1.9.2 (detached HEAD f974ff6972) last updated 2015/08/04 12:37:04 (GMT +100)\r\n  lib/ansible/modules/core: (detached HEAD 95e1cf2235) last updated 2015/08/04 13:03:57 (GMT +100)\r\n  lib/ansible/modules/extras: (detached HEAD 015247a016) last updated 2015/08/04 13:03:59 (GMT +100)\r\n  v2/ansible/modules/core: (detached HEAD 95e1cf2235) last updated 2015/08/04 13:04:03 (GMT +100)\r\n  v2/ansible/modules/extras: (detached HEAD 015247a016) last updated 2015/08/04 13:04:05 (GMT +100)\r\n  configured module search path = None\r\n```\r\n\r\nhas anyone else seen this ?"}}