ercli and have yet to dabble with VMware modules in ansible.
>
> Anything would be greatly appreciated just to get me started.
>
> Thanks again,
>
> Ted
>
> On Fri 27 Apr 2018 at 17:33, Sebastien Desbois <sebastie...@gmail.com
> > wrote:
>
>> Hell
Hello,
Can you precise which module you are using exactly?
Le vendredi 20 avril 2018 16:58:29 UTC+2, EspressoBeanies a écrit :
>
> I have a question about the 'networks' parameter for the VMWare cloud
> module. How do the options in this particular parameter get passed to the
> operating
Hello,
You have two options (from my point of view) to do that
- Create a Windows 2016 template with all infos already in it and deploy
your VM with this template. Warning; deployment with ansible module
vsphere_guest and vmware_guest will result in a "clone" meaning all your
VMs deployed with
Hello,
Not sure to understand what you are asking?
Only things you need to run ansible for vmware modules are :
- an ansible server
- a network connection between your ansible server and your esxi or vcenter
That's all
Ansible will talk to vCenter / ESXi using the API.
Le mercredi 25 avril 2018
Hello,
You can't do that with only ansible modules
Here is the solution we have found to do this :
- Convert template to VM : use ansible to execute a powercli script to do
that. (even more easy now with Linux powercli)
- Power on the VM with module vsphere_guest (yes, old module but working
Sorry, I didn't understand properly.
You want to convert a template to a VM.
Can't do that with vmware_guest.
To do that, I'm using a Powercli script executed by Ansible.
Le mardi 20 mars 2018 17:13:42 UTC+1, Sebastien Desbois a écrit :
>
> Hello,
>
> It is possible.
>
Hello,
It is possible.
Seems that you are missing a few parameters
Here is an example of task that can work: (the
tasks:
- name: Create VM from template
vmware_guest:
hostname: "{{vcenter_IP}}"
username: "{{vcenter_user}}"
password: "{{vcenter_pass}}"
to get the metrics (very good idea there because the
results will be more easy to use) then launch your tasks
Le vendredi 16 mars 2018 10:55:37 UTC+1, Sebastien Desbois a écrit :
>
> Hello
>
> I don't think that Ansible is the tool you need for that.
> All VMware modules in A
Hello
I don't think that Ansible is the tool you need for that.
All VMware modules in Ansible are here to provision / modify VMs andthe
infrastructure.
You won't get any metrics (for CPU / RAM / disk utilization) through them.
You can use Ansible to launch Powercli scripts tha
Le mercredi 14
Hello,
When deploying from a template, this parameter will no be used.
Your VM will be deployed in the same datastore as the template.
This deployment is just a clone that will take by default all the
parameters CPU / RAM / Disks of the template.
For my part, since I like complicated things,
Hello,
What is your version of Ansible ?
Starting version 2.4, vmware_guest is totally broken on the resource_pool
parameter.
For previous versions, the default resource pool ithat could be indicated
was /Resources and it was working.
(It has been introduced in 2.3)
To be honest, for the
gt; El martes, 17 de octubre de 2017, 14:57:28 (UTC+2), Sebastien Desbois
> escribió:
>>
>> Hello,
>>
>> For my part, I'm using the way described by JYL.
>>
>> - include_role:
>> name: myrolewhoaddsininventory
>> with_it
Hello,
For my part, I'm using the way described by JYL.
- include_role:
name: myrolewhoaddsininventory
with_items: "{{ mylist }}"
the add_host task is included amonfg other things in the role.
And at the end, I get the in-memory inventory properly filed.
Le mardi 17 octobre 2017
Hello,
The probleme seems that Ansible do not that it needs to loop on the
add_host part, since there is no parameter like {{ inventory_hostname }} to
indicate it needs to loop on it.
Maybe if you try to add a false variable set to the inventory_hostname, it
could help it to loop ?
Should
Hello
Limitation of your version of vCenter
Centos 7 Guest customization is supported for vSphere 6
(https://partnerweb.vmware.com/programs/guestOS/guest-os-customization-matrix.pdf)
but your vCenter build is way too old. Current build : 5318200
Le vendredi 29 septembre 2017 13:25:16
ember 28, 2017 at 8:23:22 AM UTC-7, Sebastien Desbois
> wrote:
>>
>> Hello,
>>
>> when you don't specify a datastore, ansible will use an autoselect_datastore
>> function to find a datastore for your VM.
>> In this function, there is a check t
Well for me, vRA (vRealize Automation) and Ansible are doing the same job.
vRA is here to automate the provisoning of whole platforms, from VMs
deployment, network conf, to app deployment, etc... With the possibility to
have a portal to propose users to do it based on blueprints.
Ansible module
Hello
Until ansible version 2.4, you could only take a snapshot without quiescing
and without memory dump.
By default, when you take a snapshot though vSphere client, the memory dump
option is activated.
I guess this is why you have a time difference and a size difference.
Regards,
Le
Hello,
when you don't specify a datastore, ansible will use an autoselect_datastore
function to find a datastore for your VM.
In this function, there is a check to see if there is enough space in the
datastores list for your new VM.
If not, no datastore is return by this function and you get
19 matches
Mail list logo