# Subsequent play do not runs when upper one fails

**URL:** <https://forum.ansible.com/t/subsequent-play-do-not-runs-when-upper-one-fails/30092>\
**Category:** Ansible Project\
**Created:** [April 10, 2019, 4:01pm UTC](https://forum.ansible.com/t/subsequent-play-do-not-runs-when-upper-one-fails/30092 "2019-04-10T16:01:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![amit\_ahuja](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@amit\_ahuja](https://forum.ansible.com/u/amit_ahuja)\
**Post date:** [April 10, 2019, 4:01pm UTC](https://forum.ansible.com/t/subsequent-play-do-not-runs-when-upper-one-fails/30092/1 "2019-04-10T16:01:43Z")

</div>

Hi,

i have a condition where lower plays don’t get executed when upper play fail on some condition . i need to run my second play also inside same yml file if above play gets fail, how can i do this ?? play with localhost group dont get executed.

my play looks like below-

---

<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:** [April 18, 2019, 4:30pm UTC](https://forum.ansible.com/t/subsequent-play-do-not-runs-when-upper-one-fails/30092/2 "2019-04-18T16:30:16Z")

</div>

put the previous play in a block and use 'rescue' to avoid total play faliure

by design if a play fully fails, it terminates the current run
