import_task swallows AnsibleParserError #68605
Labels
affects_2.10
This issue/PR affects Ansible v2.10
bug
This issue/PR relates to a bug.
P3
Priority 3 - Approved, No Time Limitation
python3
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
traceback
This issue/PR includes a traceback.
SUMMARY
A malformed list item in an included task file yields a cryptic message
ISSUE TYPE
COMPONENT NAME
lib/ansible/cli/scripts/ansible_cli_stub.py
ANSIBLE VERSION
Confirmed as of c888035
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
--- - oops
EXPECTED RESULTS
or something similar, because just eating the
AnsibleParserError
makes tracking down the erroneous list item harder than necessaryACTUAL RESULTS
and the same outcome when run with
ANSIBLE_DEBUG=1
which was especially surprisingThe text was updated successfully, but these errors were encountered: