The known_hosts modules was added in 1.9. The docs are wrong, but were recently fixed to specify the correct version.
See https://github.com/ansible/ansible-modules-extras/pull/347 On Wednesday, April 8, 2015, Erik Olson <[email protected]> wrote: > I just installed version 1.8.4 from epel on centos. I am unable to call > extra modules from playbooks, I get this: > > ERROR: known_hosts is not a legal parameter in an Ansible task or handler > > I can see the that the extra modules exist in > /usr/lib/python2.6/site-packages/ansible/modules. If I use that as my > "library" variable in ansible.cfg, I still get the same error. What am I > doing wrong? > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <javascript:_e(%7B%7D,'cvml','ansible-project%[email protected]');> > . > To post to this group, send email to [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/c2b6f77a-a01a-4ec7-a74b-6a84244804aa%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/c2b6f77a-a01a-4ec7-a74b-6a84244804aa%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Matt Martz @sivel sivel.net -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAD8N0v8QTkZbUJP7Zc9m-RgKV8pJTtJ-ahGC%2B7beCBC_FH%2BQvw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
