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.
