It is very hard to distinguish that it is a missing module as all the
following look like the same error:

- No action was added to a task entry ( - name: and no module )
- The task is misspelled ( - phile: )
- The task is referencing a module that is not available: ( - idontexit:
or=icannotfind/read )
- The task is missing the action name ( - local_action:
path=/var/tmp/test.txt )

It is even more 'fun' when the task action is dynamic:

 - action:
     module: "{{varwithmodulename}}"

We welcome pull requests to make the message and or detection better, but I
doubt that we can distinguish well between the cases above.

-- 
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/CACVha7e6WaZ%3Dzc_X7z9c5p4VPq3hPXPnxUrY4tFpFrPZZvMcCQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to