[ansible-project] Re: Build automation using ESXi, Ansible, Pysphere

2015-05-13 Thread Larry Smith
I recently just went through a similar process. I ended up deploying a TFTP server using Ansible which included the Ubuntu Netboot PXE boot image to provision new VMs. Using this method along with some shell scripts to help along the way has worked out great for me. I will also be uploading more

[ansible-project] Re: Build automation using ESXi, Ansible, Pysphere

2015-05-13 Thread Larry Smith
Patel, Have you had any luck on this yet? I have gone down this path about a month or so ago. I am in the process of sharing back on the processes that I have come up with. Below is the flow. 1. Deploy TFTP server via Ansible which includes Ubuntu Netboot and configures all required services (TF

Re: [ansible-project] Re: Build automation using ESXi, Ansible, Pysphere

2015-05-10 Thread Jason Hiatt
We have recently setup a similar workflow for RHEL 6 and 7. Here are the steps if anyone is interested. 1. We enter the server's information into our custom database (MySQL) that we use to track our inventory. We also use this table to create our dynamic inventory for Ansible. The t

Re: [ansible-project] Re: Build automation using ESXi, Ansible, Pysphere

2015-01-07 Thread Stephen Granger
Hi Mark, Thanks for posting that code, I've been unsure of how to extra the mac address for newly created VM's. I can now parse that to cobbler to create/update vm's. Is anyone else using a similar workflow? I'm only using cobbler because we presently use it allows us to use our existing kickstar

[ansible-project] Re: Build automation using ESXi, Ansible, Pysphere

2015-01-07 Thread Mark Phillips
Hello, I've recently done just this - and I coupled the VM creation with PXE booting. I have two PXE menus in place, the default one just says 'boot to HD'. The other one is the install menu, with a kickstart line. I control the use of this with Ansible by doing the following: https://gist.git