[ansible-project] Automate VM creation with Ansible (VMware, Bind, Zabbix)

2018-04-01 Thread Vamberto Rocha JR
Hello everybody In my environment, I own VMware with vCenter, Bind as DNS server and Zabbix as a monitoring tool. What I would like to do with Ansible is to create a virtual machine from an already predefined template, add an entry in DNS, and add the VM in Zabbix monitoring. I know Ansible h

Re: [ansible-project] Automate VM creation with Ansible (VMware, Bind, Zabbix)

2018-04-01 Thread Will Weber
In my experience I've wanted to separate these kinda things out into a couple plays, since we’re dealing with logically different resources(hypervisor, dns, monitoring). Full disclosure, I haven’t used any of the described modules, but I’ve used somewhat similar patterns with ec2, security grou

Re: [ansible-project] Automate VM creation with Ansible (VMware, Bind, Zabbix)

2018-04-03 Thread Vamberto Junior
Hello Will Weber, Thank you for your answer, certainly "helps more than confuses" I still have questions about the IP address of the VM after being created by Ansible. Do you have any idea how to change the IP address of the VM and later add this new host to the Ansible inventory file? On Sun, Apr

Re: [ansible-project] Automate VM creation with Ansible (VMware, Bind, Zabbix)

2018-04-05 Thread Larry Smith
You can define the IP address of a VM being created from the template at the time of creation and then you can dynamically create an inventory group during the play execution that you can use for further processing. Or you can use a template to create additional inventory items based on VM facts