@Abhi,
thank you for your reply.
I am using below playbook format (check network configuration)
- name: Clone a virtual machine from Linux template and customize
community.vmware.vmware_guest:
hostname: "{{ vcenter_hostname }}"
username: "{{ vcenter_username }}"
password: "{{ vcenter_password }}"
datacenter: "{{ datacenter }}"
state: present
folder: /DC1/vm
template: "{{ template }}"
name: "{{ vm_name }}"
cluster: DC1_C1
networks:
- name: VM Network
ip: 192.168.10.11
netmask: 255.255.255.0
wait_for_ip_address: True
On Monday, February 22, 2021 at 2:02:03 PM UTC+5:30 Abhijeet Kasurde wrote:
> vmware_guest does not talk directly to vmware guest while customization.
> We specify `customization` or `customization_spec` in vmware_guest which
> tells vCenter to do the customization with networking.
>
> You can either use `vmware_guest_network` or `vmware_vm_shell` to the
> network customization.
>
> On Mon, Feb 22, 2021 at 1:45 PM [email protected] <
> [email protected]> wrote:
>
>> Hello Team
>>
>> 1. Can anyone brief me how does vmware_guest communicate with linux guest
>> machine while assigning the new ipadddress?
>> 2. what authentication method its used.?
>>
>> Note: This is new machine deployment query
>>
>> Thanks in advance
>>
>> Regards,
>> GG
>>
>> --
>> 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/a8ad6a72-1f1b-40e1-8ac6-93576f86c94an%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/ansible-project/a8ad6a72-1f1b-40e1-8ac6-93576f86c94an%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
> Thanks,
> Abhijeet Kasurde
>
--
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/4f309aa5-e6de-4dbf-86f9-8fe36aa0c8a4n%40googlegroups.com.