# Running yml inside a playbook but different inventories

**URL:** <https://forum.ansible.com/t/running-yml-inside-a-playbook-but-different-inventories/26624>\
**Category:** Ansible Project\
**Created:** [February 1, 2018, 5:03pm UTC](https://forum.ansible.com/t/running-yml-inside-a-playbook-but-different-inventories/26624 "2018-02-01T17:03:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ansiblekrazy](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@ansiblekrazy](https://forum.ansible.com/u/ansiblekrazy)\
**Post date:** [February 1, 2018, 5:03pm UTC](https://forum.ansible.com/t/running-yml-inside-a-playbook-but-different-inventories/26624/1 "2018-02-01T17:03:13Z")

</div>

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
