# master playbook calling playbooks if any playbook is modified

**URL:** <https://forum.ansible.com/t/master-playbook-calling-playbooks-if-any-playbook-is-modified/26574>\
**Category:** Ansible Project\
**Created:** [January 27, 2018, 1:23pm UTC](https://forum.ansible.com/t/master-playbook-calling-playbooks-if-any-playbook-is-modified/26574 "2018-01-27T13:23:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Balaji1](https://avatars.discourse-cdn.com/v4/letter/b/a587f6/32.png) [@Balaji1](https://forum.ansible.com/u/Balaji1)\
**Post date:** [January 27, 2018, 1:23pm UTC](https://forum.ansible.com/t/master-playbook-calling-playbooks-if-any-playbook-is-modified/26574/1 "2018-01-27T13:23:17Z")

</div>

Need advice/suggestions

I want to write playbook which shall call other playbooks if a playbook is modified.

Background -

I have 6 hosts each have different tomcat/java application

Host1 - app1, app2

Host2 - app3, app4

Host3 - app5

:

Host6 - app6

My plan -

Create playbook as app1.yml, app2.yml app3.yml…app6.yml. A master playbook should check which playbook is modified (using md5) if app1.yml is modified then same should be applied to Host

I have prepared few playbook but not satisfied with it.

Thanks,

Balaji Chavdi

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [February 16, 2018, 1:20am UTC](https://forum.ansible.com/t/master-playbook-calling-playbooks-if-any-playbook-is-modified/26574/2 "2018-02-16T01:20:20Z")

</div>

Sounds like a job for make.
