Hi
It would be nice to have different names for templates but
I don't have control of the templates just working on the automation of
different tasks within our infrastructure.



On Wed 29 Apr 2020, 19:02 Dick Visser, <[email protected]> wrote:

> Maybe I'm stating the obvious but you should make sure there are no
> duplicate templates.
> Or, as the docs you quoted say, use the UUID to identify it.
>
> On Wed, 29 Apr 2020 at 18:58, David Foley <[email protected]> wrote:
>
>>
>> Hi All,
>>
>> Trying to Deploy a Virtual Machine on a Cluster within a DataCenter which
>> appears that a Template with the Same name is on a different Cluster within
>> the Same Datacenter:
>>
>> Looking at the Following from the Doc:
>> can someone help me with the absolute path ?
>>
>> I tried the following
>>
>> template: "Corp\San Diego\QR\.Golden Tempates\WS2016-DSC-0819" which
>> didn't appear to Work.
>>
>> *template*
>> <https://docs.ansible.com/ansible/latest/modules/vmware_guest_module.html#parameter-template>
>> -
>> Template or existing virtual machine used to create new virtual machine.
>> If this value is not set, virtual machine is created without using a
>> template.
>> If the virtual machine already exists, this parameter will be ignored.
>> This parameter is case sensitive.
>> You can also specify template or VM UUID for identifying source.
>> version_added 2.8. Use hw_product_uuid from vmware_guest_facts as UUID
>> value.
>> From version 2.8 onwards, absolute path to virtual machine or template
>> can be used.
>>
>>
>> TASK [Virtual Machine customization] 
>> *******************************************
>> fatal: [localhost -> localhost]: FAILED! => {"changed": false, "msg": 
>> "Multiple virtual machines or templates with same name [WS2016-DSC-0819] 
>> found."}
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/32ad5fa6-bc48-451b-90b6-9718671225d9%40googlegroups.com
>> <https://groups.google.com/d/msgid/ansible-project/32ad5fa6-bc48-451b-90b6-9718671225d9%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> Sent from a mobile device - please excuse the brevity, spelling and
> punctuation.
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAL8fbwO12bcZbWAy5CvnNF%3DfgyKLZRgZ4UQeHFQtwBYSvjgb1A%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAL8fbwO12bcZbWAy5CvnNF%3DfgyKLZRgZ4UQeHFQtwBYSvjgb1A%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAJUZ6v7ZkfRSTO9kR-gZvyRDyZuNcnyKu38%2BeFxhUofkPTeUyw%40mail.gmail.com.

Reply via email to