ERROR! no action detected in task.

Hi, I am new to ansible and keep experiencing the same error when I run different plays. I am currently running plays with the --check syntax. Any advice would be greatly appreciated!

ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.

The error appears to have been in ‘/home/admin/ansible/roles/aide/tasks/main.yaml’: line 3, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  • name: Install Aide
    ^ here

Maybe pasrting the actual task would help? That is usually a sign of wrong spacing/tab.