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
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 }}"
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:
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.
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