ansible/test/integration/targets/dataloader/runme.sh
Brian Coca bbdf77a59f
preserve json parsing error (#58461)
* preserve json parsing error
* added test
2020-05-01 15:03:07 -04:00

6 lines
159 B
Bash
Executable file

#!/usr/bin/env bash
set -eux
# check if we get proper json error
ansible-playbook -i ../../inventory attempt_to_load_invalid_json.yml "$@" 2>&1|grep 'JSON:'