Debian Codegraph @

test/integration/targets/dataloader/runme.sh

raw
1 #!/usr/bin/env bash
2
3 set -eux
4
5 # check if we get proper json error
6 ANSIBLE_DISPLAY_TRACEBACK=always ansible-playbook -i ../../inventory attempt_to_load_invalid_json.yml "$@" 2>&1 | grep 'parsing failed: Did not find expected <document start>'
7
8 echo PASS