You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a VM with the vmware_guest module, it's possible to specify a cluster and a resource pool.
In my case, I have a cluster with resource pools and child resource pools. Example: two resource pools RP1 and RP2 with each a child resource pool SubRP:
cluster
├── RP1
│ └── SubRP
└── RP2
└── SubRP
I need to create a VM in the RP2 / SubRP resource pool. However I can only specify the resource_pool: SubRP parameter (which will select either RP1 / SubRP or RP2 / SubRP as the module will take the first resource that it finds with the matching name).
It would be useful to be able to specify a path in the resource_pool parameter to select a child resource pool. E.g.
I propose to change the logic of defining the target resource pool. In the current logic, nested resource pools cannot be defined, and the virtual machine is deployed in the first pool found by name, nesting is not considered. Issue ansible-collections#1360
SUMMARY
When creating a VM with the
vmware_guest
module, it's possible to specify a cluster and a resource pool.In my case, I have a cluster with resource pools and child resource pools. Example: two resource pools RP1 and RP2 with each a child resource pool SubRP:
I need to create a VM in the
RP2 / SubRP
resource pool. However I can only specify theresource_pool: SubRP
parameter (which will select eitherRP1 / SubRP
orRP2 / SubRP
as the module will take the first resource that it finds with the matching name).It would be useful to be able to specify a path in the
resource_pool
parameter to select a child resource pool. E.g.ISSUE TYPE
COMPONENT NAME
vmware_guest
The text was updated successfully, but these errors were encountered: