title: Ansible block rescue force fail with failed_when
body: <p>I have the following block :</p>
  
  <pre><code> - block:
       - name: "actions"
         ...   # some tasks
     rescue:
       - name: "Rollback"
         ...   # some tasks
       - name: "force fail after rollback"
         debug:
           msg: "this task is just to force a fail"
         failed_when: true     #tried yes instead of true too      
  </code></pre>
  
  <p>Running this (using Rundeck), when rescue is called to rollback, we get success even with the force fail. </p>
  
  <pre><code>PLAY RECAP *********************************************************************
  Host1 : ok=99   changed=41   unreachable=0    failed=1
  localhost : ok=3    changed=0    unreachable=0    failed=0
  Host2 : ok=99   changed=41   unreachable=0    failed=1
  
  Playbook finished: Fri Feb  7 17:16:16 2020, 211 total tasks.  0:04:04 elapsed.
  </code></pre>
  
  <p>following the <a href="https://docs.ansible.com/ansible/latest/user_guide/playbooks_error_handling.html" rel="nofollow noreferrer">documentation</a> :</p>
  
  <p><strong><em>This will ‘revert’ the failed status of the task for the run and the play will continue as if it had succeeded.</em></strong></p>
  
  <p>How can i force fail / failing the play in rescue block ?</p>
  
  <p>Anisble version :</p>
  
  <pre><code>%$ ansible --version
  ansible 2.6.0
  </code></pre>