Re: [ansible-project] How to pass information/variable while creating VM on esxxi server using Vmware_guest module

2020-01-16 Thread Rohan Kalap
Thank you, I went through your document it's really helpful, I will try those. Will let you know if i am able to use it. On Friday, 10 January 2020 19:31:41 UTC+5:30, naveen s wrote: > > Hello Rohan, > > it is always better to have the variables and its values in the group_vars > section and p

Re: [ansible-project] How to pass information/variable while creating VM on esxxi server using Vmware_guest module

2020-01-13 Thread Rohan Kalap
Can you please help in this module Or suggest modules which will be useful in this case. Please do the needful as i have to complete this task in given deadline. Thank you. On Monday, 13 January 2020 11:56:57 UTC+5:30, Rohan Kalap wrote: > > Thanks Abhijeet, > > I went through prompts document

Re: [ansible-project] How to pass information/variable while creating VM on esxxi server using Vmware_guest module

2020-01-12 Thread Rohan Kalap
Thanks Abhijeet, I went through prompts document and yes we can pass values at execution *but those values will not be useful while OS installation on VM we have created I guess*. I have a case where *i need to pass information to EULA(end user licence agreement)* after creating vm through play

Re: [ansible-project] How to pass information/variable while creating VM on esxxi server using Vmware_guest module

2020-01-10 Thread Abhijeet Kasurde
Hi Rohan, There are a number of ways to do this. Take a look at Prompts - https://docs.ansible.com/ansible/latest/user_guide/playbooks_prompts.html which will be interactive like you explained in the original post. But going forward you might want to use VMware guest templates and OVF images to

Re: [ansible-project] How to pass information/variable while creating VM on esxxi server using Vmware_guest module

2020-01-10 Thread naveen s
Hello Rohan, it is always better to have the variables and its values in the group_vars section and pass them while executing the playbook. 1. created a reusable playbook (create a variable inside the playbook in which you want to pass it at the time of playbook execution). 2. create a group_vars

[ansible-project] How to pass information/variable while creating VM on esxxi server using Vmware_guest module

2020-01-10 Thread Rohan Kalap
Hello, I am looking to create VM from vmware_guest module on esxi server which is working fine with following playbook, But- I want to pass details which are needed while booting into VM e.g hostname, username or license agreement. I tried using 1-custome values and 2-set_facts but this doesn