"If you're running from the source installation of Ansible, make sure that you've run "git submodule update --init", as we have moved the modules into their own repositories."
Ansible will report if it detects it can't find modules, so if this does fix this for you, and you did not get an appropriate message telling you to do this from the program, let me know. I think I replied to another similar question about this already, but let me know how you have installed ansible if not, as this may be something else. On Thu, Oct 23, 2014 at 12:46 PM, James Cammarata <[email protected]> wrote: > Hi Nikita, > > If you're running from the source installation of Ansible, make sure that > you've run "git submodule update --init", as we have moved the modules into > their own repositories. > > If you've installed Ansible in some other way, please let us know. > > Thanks! > > On Mon, Oct 20, 2014 at 11:20 PM, Nikita Agrawal < > [email protected]> wrote: > >> Hi everyone >> >> I am trying to install forever using npm and ansible on Centos 6.3. Here >> is my playbook. >> >> --- >> - name: Install forever >> npm: name=forever global=yes state=latest >> >> I am getting error: >> npm is not a legal parameter at this level in an ansible playbook. >> >> Now if I add these same lines in main,yml in tasks folder for node.js, I >> am getting below error: >> npm is not a legal paramter in an Ansible task 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/379593dc-fbf4-4af1-b3c3-50dbe1b8ad73%40googlegroups.com >> <https://groups.google.com/d/msgid/ansible-project/379593dc-fbf4-4af1-b3c3-50dbe1b8ad73%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> 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/CAMFyvFjzxJ4CO08gFnSVLNNEkzAR8stneVEvu%3Dorq3Y%3DN3f-0Q%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CAMFyvFjzxJ4CO08gFnSVLNNEkzAR8stneVEvu%3Dorq3Y%3DN3f-0Q%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > 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/CA%2BnsWgxOCdNZjzqE2XUhJ-cJTCeNg5ywJOV6GB-W9RwNjxKNCg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
