Re: [ansible-project] [ISSUE] Ansible for VMware, deploy vms and update them

2022-11-07 Thread Mike Tipton
I was wondering if you figured out the "*I'll need to right-click on each VMs and set the network to "connected" since it doesn't do this automatically, i'll need to figure this out.*" part and update you with my findings as I ran into this as well. It was as simple as adding perl to my base

Re: [ansible-project] [ISSUE] Ansible for VMware, deploy vms and update them

2022-08-23 Thread TheReal MVP
I'll keep adding with my findings, might save people some time. Wrote playbook: - hosts: localhost gather_facts: false vars_files: - all_config.yml tasks: - name: Gathering info from vms community.vmware.vmware_vm_info: hostname: "{{ vcenter_hostname }}"

Re: [ansible-project] [ISSUE] Ansible for VMware, deploy vms and update them

2022-08-23 Thread TheReal MVP
I'm getting close :) I created this playbook after finding the vmware_vm_info module - hosts: all gather_facts: false become: false tasks: - name: Gathering info from vms from '{{ folder }}' community.vmware.vmware_vm_info: hostname: 192.168.1.51 username:

Re: [ansible-project] [ISSUE] Ansible for VMware, deploy vms and update them

2022-08-23 Thread D
Just use terraform On Tue., Aug. 23, 2022, 11:08 a.m. TheReal MVP, wrote: > Hi there, > I've been banging my head with this for some time now and I can't figure > it out. > > I'm using Ansible the vmware commnity plugins to deploy 4 VMs from a > template and they all have DHCP running.

[ansible-project] [ISSUE] Ansible for VMware, deploy vms and update them

2022-08-23 Thread TheReal MVP
Hi there, I've been banging my head with this for some time now and I can't figure it out. I'm using Ansible the vmware commnity plugins to deploy 4 VMs from a template and they all have DHCP running. Ultimately, I want to be able to grab the IPs from all 4 VMs, connect to them and run some