Hi Frank, I did just test this out on the latest version of devel, and it appears to be working for me just fine:
cat fail.yml
fail:
cat test.yml
hosts: localhost
gather_facts: no
tasks:
block:
include: fail.yml
debug: msg=“you should not see me”
rescue:
debug: msg=“here we are in the rescue”
always:
debug: msg=“here we are in the always”
TASK [include] *****************************************************************
included: fail.yml for localhost
TASK [fail] ********************************************************************
fatal: [localhost]: FAILED! => {“changed”: false, “failed”: true, “msg”: “Failed as requested from task”}
TASK [debug msg=here we are in the rescue] *************************************
ok: [localhost] => {
“changed”: false,
“msg”: “here we are in the rescue”
}
TASK [debug msg=here we are in the always] *************************************
ok: [localhost] => {
“changed”: false,
“msg”: “here we are in the always”
}
Can you test against the latest pull from devel (if you’re not already), and share more information about what the include failures may involve?