You must run ansible-playbook not ansible, this one is for adhoc tasks, not plays. It expects a host list but you are supplying a file, hence the error.
---------- Brian Coca -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CACVha7c9UMYKnvH2WXLnSfvgayHD8rScWvbkjy66-73S3et7Kw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.