mirror of https://github.com/ansible/ansible.git
Parser errors from within includes should not be rescueable (#73722)
* Parser errors from within includes should not be rescueable * Also fixes unit tests Fixes #73657pull/76194/head
parent
d23226a6f4
commit
47ee282227
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- Parser errors from within includes should not be rescueable (https://github.com/ansible/ansible/issues/73657)
|
||||
@ -0,0 +1,8 @@
|
||||
- hosts: localhost
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- block:
|
||||
- include_tasks: issue73657_tasks.yml
|
||||
rescue:
|
||||
- debug:
|
||||
msg: SHOULD_NOT_EXECUTE
|
||||
@ -0,0 +1,2 @@
|
||||
- wrong.wrong.wrong:
|
||||
parser: error
|
||||
Loading…
Reference in New Issue