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

2022-08-23 Thread TheReal MVP
quot;, "server03": "192.168.1.117" } } I think i'm getting close. Took me a whole 3 hours to figure this part. Now I need to save this into the ansible inventory (I think?) and run the apt update and apt upgrade against those vms. On Tuesday, August 23, 202

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

2022-08-23 Thread TheReal MVP
on from all 4 machines inside the folder specified. Now I need to find a way to extract the IP from it and save it somewhere to use it to connect to them :) On Tuesday, August 23, 2022 at 2:03:47 PM UTC-4 dhevanyo...@gmail.com wrote: > Just use terraform > > > On Tue., Aug. 23, 2022, 11

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

2022-08-23 Thread TheReal MVP
Walter: Oh that would be the dream! Register the mac address with the DHCP server, then wait for the VM to pick up the ip. Paul: I was looking at terraform as well, but I haven't really searched how well it was all working together. Do you have any off-hand scripts I could follow and check out?

[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 com

[ansible-project] Re: Ansible vmware playbooks

2022-08-23 Thread TheReal MVP
Thank you! :) On Monday, August 1, 2022 at 8:47:20 AM UTC-4 walte...@nist.gov wrote: > This will run the tasks on the 'control node' (where you run ansible > itself): > hosts: localhost > > This will run the tasks on the hosts in the inventory. > hosts: all > > -- > Walter Rowe, Chief > Infrast

[ansible-project] Ansible vmware playbooks

2022-07-22 Thread TheReal MVP
Hi there, In a playbook, what is the different between host all and host localhost? I have a playbook that simply won't perform the tasks and i suspect this setting might be what's wrong. Thanks! -- You received this message because you are subscribed to the Google Groups "Ansible Project" gr