Hi, 
I'm fairly new to Ansible, but I think I have a grasp of it now.  I'm 
looking into leveraging it to make management of our VMs a bit easier, 
including being able to turn on/off our VMs via playbook.  I'm thinking the 
playbook will power up the vcenter server by connecting to the esxi host, 
and then turn on the vms by connecting to the vcenter vm.  At least, that's 
how it is logically in my head.  Looking into the vsphere_guest module, all 
the documentation appears to be focused on creating/deleting vms.  In order 
to power off a VM, is it just a matter of using the state: option?  And 
does this power off the vm, or does it also gracefully shutdown?  And 
finally, since it's using pysphere and I believe using the vcenter web 
api/sdk, is this even possible (connecting to the esxi host directly)?  
Please educate me if I'm way off base 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 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/870d735a-a802-4835-8e8e-61c78d14dbc3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to