# Dependencies between plays

**URL:** <https://forum.ansible.com/t/dependencies-between-plays/22782>\
**Category:** Ansible Project\
**Created:** [October 13, 2016, 12:50am UTC](https://forum.ansible.com/t/dependencies-between-plays/22782 "2016-10-13T00:50:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nikita\_Gubenko](https://avatars.discourse-cdn.com/v4/letter/n/ad7895/32.png) [@Nikita\_Gubenko](https://forum.ansible.com/u/Nikita_Gubenko)\
**Post date:** [October 13, 2016, 12:50am UTC](https://forum.ansible.com/t/dependencies-between-plays/22782/1 "2016-10-13T00:50:43Z")

</div>

Hello, folks

Is there any possible way to make plays depend on each other? E.g. in the example below do not start play2 if any of the hosts in play1 failed?

`

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [October 13, 2016, 5:18pm UTC](https://forum.ansible.com/t/dependencies-between-plays/22782/2 "2016-10-13T17:18:13Z")

</div>

You can add "any\_errors\_fatal: true" to play 1.
