Ansible fetch IP

Hi Team,

Currently we are planning to create the app in Blueprints.Like App,Web,DB

I wants to run the ansible playbooks on each app.Each app will provision the instances. once provision is done ansible playbook needs to run.In a single playbook I am running the different tasks all to gether like:

hosts: app

hosts: web

hosts: db

which is the best way to create the dynamic inventory to make this tasks gets run.

It is not currently possible to target an app using ansible in Morpheus. There is an open source collection that enables this functionality which is not directly supported by Morpheus: Morpheus Core Collection

It provides a way to fetch a dynamic inventory from Morpheus based on different criteria.