Makes sense the behavior, your playbook is attempting to power on the vm (state: poweredon) if the vm is already powered on then changed should be false.Sent from my Samsung Galaxy smartphone. -------- Original message --------From: Alberto Jimenez Lozano <[email protected]> Date: 2018-11-10 10:21 PM (GMT-05:00) To: Ansible Project <[email protected]> Subject: [ansible-project] Module vmware_guest option powerdon/powerdoff not work OK I do a playbook to start a virtual machine. - name: Start vmware MV vmware_guest: hostname: xxxx username: xxxx password: xxx validate_certs: no name: {{server}} state: poweredon delegate_to: localhost register: vmware_startok: [xxxx] => { "vmware_start": { "changed": false, "failed": false }}PLAY RECAP ******************************************************************************************ssh.sva.itbatera.ejgv.eus : ok=3 changed=0 unreachable=0 failed=0 I execute the playbook and it doesn´t appear errors:Even though the VM is powered on, it says '"Changed": false" and never actually powers off the VM.
-- 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/aa8443a0-721e-4e6f-832e-9eccd12d2e12%40googlegroups.com. 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/5be7a7ca.1c69fb81.1dfd.4508%40mx.google.com. For more options, visit https://groups.google.com/d/optout.
