Running yml inside a playbook but different inventories

Hi All,

I’ve a requirement where i want to run a playbook inside the main playbook, however inventory(host) for inside playbook will be different

For example : main.ini will be having hosts

a, b, c, d

whereas inside.ini

r , h

Is it possible to achieve this ?

Any help will be appreciated