Consider the following use case. User needs to deploy application which consists of multiple interconnected resources.
For example, let's say he wants to deploy complex a multi-tiered web application, like Waldur itselfan e-commerce, with backend server on first VM and fronted app on second VM.
Currently in order to accomplish such a task user shall:
- issue request to provision first VM, wait for it to complete, gather some info, such as IP address and store it;
- execute some script on first VM, for example, via Ansible;
- issue request to provision second VM, wait for it to complete;
- execute some script on second VM, passing information gathered in previous steps.
Please note, that currently Ansible Waldur module supports OpenStack Tenant provider only.
NB! Due to Ansible license restrictions Waldur is not providing Ansible itself, please install it on MasterMind and Celery nodes as a separate component, for example, using this guide: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-ansible-on-centos-7
In order to enable Ansible applications feature in HomePort, please ensure that ansible feature is enabled. See also documentation for feature toggling.