Sounds like you're running ansible from a git checkout. If that is the case, you need to make sure your git submodules have been fetched as well since the big ansible git submodule split:
See https://groups.google.com/forum/#!msg/ansible-project/TUL_Bfmhr-E/rshKe30KdD8J On Tue, Oct 21, 2014 at 12:43 AM, ansi11 <[email protected]> wrote: > I am trying to install forever through npm on Centos 6.3 version. Getting > the error as above if my .yml file is first level of playbook. > --- > - name: install forever > npm: name=forever global=yes state=latest > > If I am adding these lines in mail.yml present in tasks folder of node.js > role , I am getting this error: > npm is not defined as a legal parmeter at this level in an Ansible tasks or > handler. > > -- > 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/1d091a24-4fb8-4378-936e-ef6e588e452e%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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/CAJQqANeZbmvi1%2BbMnY1ZvrWYB2j_UhwoPz9F7h2XHUmpFPXHjA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
