That error message often indicates an indentation issue or a missing module parameter.
On Sat, Apr 18, 2020, 20:22 Tony Wong <[email protected]> wrote: > Hi > > why is it when i run this playbook I get this error > > tony@ubuntu:~/ansiblework$ ansible-playbook vmware_tools.yml > [WARNING]: provided hosts list is empty, only localhost is available. > Note that the implicit localhost does not match 'all' > > ERROR! no action detected in task. This often indicates a misspelled > module name, or incorrect module path. > > The error appears to be in '/home/tony/ansiblework/vmware_tools.yml': line > 9, column 5, but may > be elsewhere in the file depending on the exact syntax problem. > > The offending line appears to be: > > tasks: > - name: Get information about the virtual machine > ^ here > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/201e9930-5b7d-432e-b801-d19070f1c81d%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/201e9930-5b7d-432e-b801-d19070f1c81d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAFtje5Mgmc3wXr6biyvRUssbUxdvcGiyB0CCDLnA-U3QD_hM1A%40mail.gmail.com.
