How to use native ansible within manageiq


#1

Hi,

Can you share some light on whether ansible can be used to handle orchestration tasks before and during a linux instance is up in the air ?
it is already clear to me that ansible and manageiq can be integrated to allow ansible to run playbooks after a linux vm has been deployed, but I would like to know whether native ansible code can be used to do initial deployment tasks such as:
-get ip adress info from infoblocks as input for ip virtual machine. (i’d use for example get next available ip method from https://github.com/xoanmi/ansible-module-infoblox
-use ansible module to deploy vm http://docs.ansible.com/ansible/latest/vsphere_guest_module.html

is there a benefit to use embedded ansible to achieve this ?
or how could i use these orchestration tasks from within ansbile tower instead (again: before the actual vm is up)

thanks a lot!

regards,

Tobias.