RFE: vmware.vmware_rest.vcenter_vm support power_on for created VMs #408
Labels
blocked
Used when issue is blocked by so other issue
waiting_on_contributor
Needs help. Feel free to engage to get things unblocked
SUMMARY
The docs at [0] describe the parameter
power_on
to "Attempt to perform a {@link #powerOn} after clone."I guess this parameter only works when
state: clone
, because it doesn't work whenstate: present
. I would like to have this module support the parameter forstate: present
as well to be able to power on newly created VMs without using an additional task.ISSUE TYPE
COMPONENT NAME
vcenter_vm.py
ADDITIONAL INFORMATION
The feature would be use to create and power on the created VM in one task. So it would be ease to use a dict with multiple VMs to have them created and powered on without using the vcenter_vm_power module on each VM afterwards.
But in
_result
if found"power_state": "POWERED_OFF",
afterwards.[0] https://docs.ansible.com/ansible/latest/collections/vmware/vmware_rest/vcenter_vm_module.html#parameters
In case you need additional information to understand the use case, please, don't hesitate to ask and I try to explain it in more detail.
The text was updated successfully, but these errors were encountered: