That module was introduced in ansible 2.5:
https://docs.ansible.com/ansible/latest/modules/vmware_guest_powerstate_module.html

Do you run an older version?



On Sat, 18 Apr 2020 at 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>
> .
>
-- 
Sent from a mobile device - please excuse the brevity, spelling and
punctuation.

-- 
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/CAL8fbwNCN3M5sh3H%3D4rFgO3d1TRXogadBjxd4CnyQCn%2BeG%3DANg%40mail.gmail.com.

Reply via email to