Debian Codegraph @

test/integration/targets/templating-syntax-errors/runme.sh

raw
1 #!/usr/bin/env bash
2
3 set -eux
4
5 ansible-playbook template-file.yml "${@}" | tee template-file.out
6
7 echo "Verifying contents of error reports ..."
8
9 # verify the template-file error report is correct
10 grep 'template-file.j2:5' template-file.out
11 grep '5 {% sorry' template-file.out
12
13 echo "PASS"