Hello Abhijeet,

Thanks for the reply, will try that.

Thanks again

On Monday, July 11, 2022 at 2:05:56 PM UTC+5:30 [email protected] 
wrote:

> Hi Harsha,
> I have used an input yaml file to give all the required variable values 
> for the role to work.
> used this module  community.vmware.vmware_vm_shell: extensively to avoid 
> opening fw ports.
> As I am not connecting the VM over nw i dont need to add it in the 
> inventory.
> All required installers are part of the Template but even if they are not 
> you can use this module  community.vmware.vsphere_copy to copy files 
> without nw.
>
> I am doing this in vCenter so that was the difference against your use 
> case for Azure.
>
> On Mon, 11 Jul 2022 at 06:01, [email protected] <[email protected]> 
> wrote:
>
>> Hello Abhijeet,
>>
>> Thanks a lot for your information. Is there any way i can have a look on 
>> the roles you built or how you did it? It will be really helpful.
>> As i am clueless on how to achieve this. I am okay till VM creation, but 
>> how to connect to the VM on the next task and do activities i am bit 
>> confused on that.
>>
>> Thanks,
>>
>> Regards
>> Harsh
>>
>> On Sunday, July 10, 2022 at 7:09:28 PM UTC+5:30 [email protected] 
>> wrote:
>>
>>> Hi Harsh,
>>>
>>> I just finished something like this.
>>> a Role with multiple tasks to install more  6 agents, make registry 
>>> changes, add HDDs and format them, add more than one NIC and assign correct 
>>> IP and a lot more..
>>>
>>> I have another role to Patch the Template working on scheduling that 
>>> Role/Playbook.
>>>
>>> Warm Regards,
>>> Abhi
>>>
>>> On Fri, 8 Jul 2022 at 13:31, [email protected] <[email protected]> 
>>> wrote:
>>>
>>>>
>>>> Hello All,
>>>>
>>>> I am Creating VM in vCenter using *community.vmware.vmware_guest, *after 
>>>> the VM is Created I have certain prerequisites to be fulfilled:
>>>>
>>>>    - Do Patching
>>>>    - Do some package installation.
>>>>    - And some more
>>>>    
>>>> How to accomplish this. I am able to create the VM then in the next 
>>>> task how to connect to VM and perform the above mentioned tasks.
>>>>
>>>> Just In case in Terraform there is remote-exec and local-exec modules, 
>>>> after creation of VM in azure i can directly connect to VM using these and 
>>>> do whatever i need.
>>>>
>>>> Can someone please provide the roadmap.
>>>>
>>>> Thanks in advance,
>>>>
>>>> *Regards*
>>>> *Harsh*
>>>>
>>>> -- 
>>>> 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/72e29365-729e-4472-9f79-5a798ada0837n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/ansible-project/72e29365-729e-4472-9f79-5a798ada0837n%40googlegroups.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/0ec3b687-98cd-4c56-8c00-faa8e6ee4284n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/0ec3b687-98cd-4c56-8c00-faa8e6ee4284n%40googlegroups.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/0bf59356-efef-4027-b0f0-b65bebbd1a43n%40googlegroups.com.

Reply via email to