On 28.08.2019 16:48, MKPhil wrote:
> That's not a datacenter issue - you can have two VMs with the same name in
> the same datacenter but VMWare does not recommend this -
> https://kb.vmware.com/s/article/2108769
I would say it is.
A datacenter is a namespace that makes it possible to have the
That's not a datacenter issue - you can have two VMs with the same name in
the same datacenter but VMWare does not recommend this -
https://kb.vmware.com/s/article/2108769
vmware_guest_facts has a "name_match" parameter "If multiple virtual
machines matching the name, use the first or last
On 27.08.2019 14:38, MKPhil wrote:
> I ask because I've written a module, based on vmware_guest_find, that
> returns the Datacenter for a given VM and VCenter, which I can then feed in
> to the other "official" modules. My module uses the built-in function
> "get_parent_datacenter" (defined in
>
Here's some:
https://docs.ansible.com/ansible/latest/modules/vmware_guest_disk_module.html
https://docs.ansible.com/ansible/latest/modules/vmware_guest_facts_module.html
https://docs.ansible.com/ansible/latest/modules/vmware_guest_snapshot_module.html
On Tue, 27 Aug 2019 at 22:38, MKPhil wrote:
> In many vmware_* modules, the datacenter parameter is marked as
> required - but is it really needed?
Can you point to any particular module that has 'datacenter' marked as
a required parameter?
--
You received this message because you are
In many vmware_* modules, the datacenter parameter is marked as required -
but is it really needed?
I ask because I've written a module, based on vmware_guest_find, that
returns the Datacenter for a given VM and VCenter, which I can then feed in
to the other "official" modules. My module uses